On Sat, Oct 24, 2015 at 3:40 AM, Ronald S. Bultje <rsbul...@gmail.com> wrote:
> Fixes ticket 4935.
> ---
>  libavcodec/vp9.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c
> index 3753e89..cee17d9 100644
> --- a/libavcodec/vp9.c
> +++ b/libavcodec/vp9.c
> @@ -222,8 +222,7 @@ static int update_size(AVCodecContext *ctx, int w, int h, 
> enum AVPixelFormat fmt
>      if (s->intra_pred_data[0] && w == ctx->width && h == ctx->height && 
> ctx->pix_fmt == fmt)
>          return 0;
>
> -    ctx->width   = w;
> -    ctx->height  = h;
> +    ff_set_dimensions(ctx, w, h);

LGTM.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to