[FFmpeg-devel] [PATCH] skip ##ix chunks reading as video/audio data

Maksym Veremeyenko verem
Mon Nov 24 09:04:56 CET 2008


Michael Niedermayer ???????(??):
[...]
>> I am not the author of original code, perhaps, am i missed something?
> 
> Yes, its something with error recovery, hint: if your check accepts
> any random chunk the demuxer fails fatally once it becomes desyced
> 
> 
>> What is preferable way to stop reading index block as frame data?
> 
> add a check for them, dont hack a random unrelated check to by luck
> also trigger for them
I moved ##ix checking in stand-alone block, it check stream id (n) 
requested by call n= get_stream_idx(d); some rows above.

patch attached.

-- 
________________________________________
Maksym Veremeyenko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: avidec_XYix_skip.patch
Type: text/x-patch
Size: 630 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081124/153f90d6/attachment.bin>



More information about the ffmpeg-devel mailing list