Fixes mozilla bug 1229128. --- libavcodec/vp9.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c index d4061e2..858d561 100644 --- a/libavcodec/vp9.c +++ b/libavcodec/vp9.c @@ -219,7 +219,8 @@ static int update_size(AVCodecContext *ctx, int w, int h, enum AVPixelFormat fmt av_assert0(w > 0 && h > 0); - if (s->intra_pred_data[0] && w == ctx->width && h == ctx->height && ctx->pix_fmt == fmt) + if (s->intra_pred_data[0] && w == ctx->width && h == ctx->height && + ctx->pix_fmt == fmt && s->bpp == s->last_bpp) return 0; if ((res = ff_set_dimensions(ctx, w, h)) < 0) -- 2.1.2 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel