Commit 916aa6c3 authored by diego's avatar diego

Do not read index chunks as audio/video data; closes issue 1336.

patch by Maksym Veremeyenko, verem m1stereo tv 


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19700 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d4cf159b
......@@ -826,6 +826,12 @@ resync:
if(!((i-avi->last_pkt_pos)&1) && get_stream_idx(d+1) < s->nb_streams)
continue;
//detect ##ix chunk and skip
if(d[2] == 'i' && d[3] == 'x' && n < s->nb_streams){
url_fskip(pb, size);
goto resync;
}
//parse ##dc/##wb
if(n < s->nb_streams){
AVStream *st;
......
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