[FFmpeg-devel] [PATCH] Fix empty G-VOP header decoding in MPEG-4

Anatoly Nenashev anatoly.nenashev
Tue Feb 8 11:44:41 CET 2011

Hi all!
There are some cameras which send mpeg-4 streams with empty G-VOP header.
This part of stream looks like this:
... 00 00 01 B3 00 00 00 01 B6 ...
Sample file uploaded in issue 2592.
FFmpeg reports "header damaged" and ignores first I-frame in G-VOP.
Attached patch fix this problem.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpeg4.patch
Type: text/x-patch
Size: 692 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110208/aa692028/attachment.bin>

More information about the ffmpeg-devel mailing list