changeset 754:b2767c9d6455 libavcodec

init flags before using it (found by arpi)
author michaelni
date Wed, 16 Oct 2002 22:18:41 +0000
parents 8e1f0939d15d
children d17846a6c164
files mpegvideo.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mpegvideo.c	Wed Oct 16 19:55:49 2002 +0000
+++ b/mpegvideo.c	Wed Oct 16 22:18:41 2002 +0000
@@ -229,6 +229,8 @@
     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;