Mercurial > libavcodec.hg
diff mpegvideo.c @ 885:35d28522a1c5 libavcodec
moving init of some variables (hurry_up,...) to MPV_frame_start()
author | michaelni |
---|---|
date | Sat, 23 Nov 2002 09:12:57 +0000 |
parents | 34943cb0c2fb |
children | 9d9a415e3dd9 |
line wrap: on
line diff
--- a/mpegvideo.c Fri Nov 22 07:53:06 2002 +0000 +++ b/mpegvideo.c Sat Nov 23 09:12:57 2002 +0000 @@ -819,6 +819,9 @@ s->mb_skiped = 0; avctx->mbskip_table= s->mbskip_table; + s->hurry_up= s->avctx->hurry_up; + s->error_resilience= avctx->error_resilience; + if(avctx->flags&CODEC_FLAG_DR1){ if(avctx->get_buffer_callback(avctx, s->width, s->height, s->pict_type) < 0){ fprintf(stderr, "get_buffer() failed\n");