comparison mpegvideo.c @ 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
comparison
equal deleted inserted replaced
753:8e1f0939d15d 754:b2767c9d6455
227 { 227 {
228 int c_size, i; 228 int c_size, i;
229 UINT8 *pict; 229 UINT8 *pict;
230 230
231 DCT_common_init(s); 231 DCT_common_init(s);
232
233 s->flags= s->avctx->flags;
232 234
233 s->mb_width = (s->width + 15) / 16; 235 s->mb_width = (s->width + 15) / 16;
234 s->mb_height = (s->height + 15) / 16; 236 s->mb_height = (s->height + 15) / 16;
235 237
236 /* set default edge pos, will be overriden in decode_header if needed */ 238 /* set default edge pos, will be overriden in decode_header if needed */