[FFmpeg-devel] [PATCH] h264_mp4toannexb_bsf: account for consecutive IDR pictures.

Michael Niedermayer michaelni at gmx.at
Thu Jul 31 16:48:34 CEST 2014

On Thu, Jul 31, 2014 at 03:32:14PM +0200, Benoit Fouet wrote:
> If there are consecutive IDR pictures, then SPS/PPS should be prepended
> to all of them, not only the first one.
> ---
>  libavcodec/h264_mp4toannexb_bsf.c | 5 +++++
>  1 file changed, 5 insertions(+)

tested, works, LGTM



Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Rewriting code that is poorly written but fully understood is good.
Rewriting code that one doesnt understand is a sign that one is less smart
then the original author, trying to rewrite it will not make it better.
-------------- 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/20140731/f21541e3/attachment.asc>

More information about the ffmpeg-devel mailing list