[FFmpeg-devel] [PATCH] Fix h264 decoder when nal end sequence is present

Baptiste Coudurier baptiste.coudurier
Fri Nov 19 03:24:41 CET 2010


Hi

$subject.  The problem happens if the last frame only contains a NAL_END 
unit. The decoder will fail with "no frame" error and won't output the 
last frame.

Please comment. I'm not sure why the if (nalsize == 1) buf_index++ was 
added.

-- 
Baptiste COUDURIER
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer                                  http://www.ffmpeg.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: h264_nal_end_fix.patch
Type: text/x-patch
Size: 1624 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101118/89b9dd77/attachment.bin>



More information about the ffmpeg-devel mailing list