[FFmpeg-devel] [PATCH] h264 parser: detect new extradata on frame parsing.

Michael Niedermayer michaelni at gmx.at
Wed Jul 23 18:10:46 CEST 2014


On Wed, Jul 23, 2014 at 03:49:43PM +0200, Benoit Fouet wrote:
> Try to detect new extradata when parsing frames, and decode it.
> Fixes issue #3787
> ---
>  libavcodec/h264_parser.c | 34 ++++++++++++++++++++++++++++++++++
>  1 file changed, 34 insertions(+)

fixed differently

skiping such midstream extradata in the parser like your patch
does could though also make sense but
calling ff_h264_decode_extradata() midstream in the parser could be
risky if the context is also used by a decoder

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 1
"Used only once"    - "Some unspecified defect prevented a second use"
"In good condition" - "Can be repaird by experienced expert"
"As is" - "You wouldnt want it even if you were payed for it, if you knew ..."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140723/06d0531b/attachment.asc>


More information about the ffmpeg-devel mailing list