Commit a234a98a authored by jai_menon's avatar jai_menon

10l : make sure probe buffer is large enough.



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20889 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a92a61e7
......@@ -35,6 +35,9 @@ static int tta_probe(AVProbeData *p)
if (ff_id3v2_match(d))
d += ff_id3v2_tag_len(d);
if (d - p->buf >= p->buf_size)
return 0;
if (d[0] == 'T' && d[1] == 'T' && d[2] == 'A' && d[3] == '1')
return 80;
return 0;
......
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