Commit 3acc8cb2 authored by mmu_man's avatar mmu_man

avoid detecting mpeg stream when other formats embed mp3 tracks.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1788 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 4234207c
...@@ -78,7 +78,7 @@ static int mpegts_probe(AVProbeData *p) ...@@ -78,7 +78,7 @@ static int mpegts_probe(AVProbeData *p)
size = get_packet_size(p->buf, p->buf_size); size = get_packet_size(p->buf, p->buf_size);
if (size < 0) if (size < 0)
return 0; return 0;
return AVPROBE_SCORE_MAX; return AVPROBE_SCORE_MAX - 1;
} }
static int mpegts_read_header(AVFormatContext *s, static int mpegts_read_header(AVFormatContext *s,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment