Browse Source

init flags before using it (found by arpi)

Originally committed as revision 1047 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 23 years ago
parent
commit
9fee1e234e
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavcodec/mpegvideo.c

+ 2
- 0
libavcodec/mpegvideo.c View File

@@ -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;


Loading…
Cancel
Save