On Sat, Sep 26, 2015 at 02:25:04PM +0000, Thomas Mundt wrote: > This will fix AVC-Intra encoding in .mov container. > Regards,Thomas
> libx264.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
> 1d153d16cdb505ea33cab12979de3b0e50e3b459 libx264.diff
> libavcodec/libx264.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
> index 58fcfb0..b4a14cf 100644
> --- a/libavcodec/libx264.c
> +++ b/libavcodec/libx264.c
> @@ -560,13 +560,15 @@ static av_cold int X264_init(AVCodecContext *avctx)
> x4->params.b_bluray_compat = x4->bluray_compat;
> x4->params.b_vfr_input = 0;
> }
> - if (x4->avcintra_class >= 0)
> + if (x4->avcintra_class >= 0) {
> #if X264_BUILD >= 142
> x4->params.i_avcintra_class = x4->avcintra_class;
> + avctx->flags &= ~CODEC_FLAG_GLOBAL_HEADER;
> #else
AVCodecContext.flags is set by the user application not by the codec
see libavcodec/avcodec.h
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
What does censorship reveal? It reveals fear. -- Julian Assange
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
