Commit 9fee1e23 authored by Michael Niedermayer's avatar Michael Niedermayer

init flags before using it (found by arpi)

Originally committed as revision 1047 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 073b013d
......@@ -229,6 +229,8 @@ int MPV_common_init(MpegEncContext *s)
UINT8 *pict;
DCT_common_init(s);
s->flags= s->avctx->flags;
s->mb_width = (s->width + 15) / 16;
s->mb_height = (s->height + 15) / 16;
......
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