Commit 4931c8f0 authored by Michael Niedermayer's avatar Michael Niedermayer

svq1dec: call avcodec_set_dimensions() after dimensions changed.

Fixes NGS00148

Found-by: Phillip Langlois
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent eef5c35b
......@@ -658,6 +658,7 @@ static int svq1_decode_frame(AVCodecContext *avctx,
av_dlog(s->avctx, "Error in svq1_decode_frame_header %i\n",result);
return result;
}
avcodec_set_dimensions(avctx, s->width, s->height);
//FIXME this avoids some confusion for "B frames" without 2 references
//this should be removed after libavcodec can handle more flexible picture types & ordering
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment