[FFmpeg-devel] [PATCH] libavformat/avc.c annexb parsing corrupts packets

Michael Niedermayer michaelni
Tue Jul 28 02:56:02 CEST 2009


On Mon, Jul 27, 2009 at 05:10:33PM +0200, matteo.elli at m-elli.it wrote:
> Hi,
> 
> code in libavformat/avc.c is seldom executed but it surely does when you transmux (vcodec=copy) from h264 in a ts container to h264 in an mp4/mov/mkv/avi container.
> 
> The code there fails to handle annexb 00 00 01 NAL three byets prefixes properly and cuts the last byte in the previous NAL corrupting the whole frame.

please provide a reproduceable testcase

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I am the wisest man alive, for I know one thing, and that is that I know
nothing. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090728/d6d0d80e/attachment.pgp>



More information about the ffmpeg-devel mailing list