[FFmpeg-devel] [PATCH] non-interleaved AVI read packet fix

Maksym Veremeyenko verem
Wed Sep 2 08:22:42 CEST 2009


Hi,

I faced a problem with decoding of non-interleaved AVI files (described 
in bug-tracker issue #1343).

The problem happens if audio stream is shorter then video. So best 
stream selecting code select audio stream that is finished. As result 
code branch to resync part and resulting video file has duplicated 
multiple times original last frame.

As solution proposed patch, that check if stream is not "End Of" to 
exclude that one from best stream selecting loop.

-- 
________________________________________
Maksym Veremeyenko

-------------- next part --------------
A non-text attachment was scrubbed...
Name: avidec_non_interleaved_read_packet_fix_v3.patch
Type: text/x-patch
Size: 661 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090902/299a53a6/attachment.bin>



More information about the ffmpeg-devel mailing list