[FFmpeg-devel] compiling fails with --enable-libx265

James Almer jamrial at gmail.com
Tue Apr 8 19:02:31 CEST 2014


On 08/04/14 11:41 AM, Jan Ehrhardt wrote:
> The patch:
> 
> diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c
> index 1788f65..14abf0c 100644
> --- a/libavcodec/libx265.c
> +++ b/libavcodec/libx265.c
> @@ -115,8 +115,6 @@ static av_cold int libx265_encode_init(AVCodecContext *avctx)
>      av_reduce(&sar_num, &sar_den,
>                avctx->sample_aspect_ratio.num,
>                avctx->sample_aspect_ratio.den, 4096);
> -    ctx->params->vui.bEnableVuiParametersPresentFlag = 1;
> -    ctx->params->vui.bEnableAspectRatioIdc           = 1;
>      ctx->params->vui.aspectRatioIdc                  = 255;
>      ctx->params->vui.sarWidth                        = sar_num;
>      ctx->params->vui.sarHeight                       = sar_den;
> 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Derek already sent this patch. See "[FFmpeg-devel] [PATCH][FUTURE] libx265: Update API 
usage yet again"


More information about the ffmpeg-devel mailing list