Mercurial > libavcodec.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
884:2cef5c4c0ca6 | 885:35d28522a1c5 |
---|---|
816 int i; | 816 int i; |
817 UINT8 *tmp; | 817 UINT8 *tmp; |
818 | 818 |
819 s->mb_skiped = 0; | 819 s->mb_skiped = 0; |
820 avctx->mbskip_table= s->mbskip_table; | 820 avctx->mbskip_table= s->mbskip_table; |
821 | |
822 s->hurry_up= s->avctx->hurry_up; | |
823 s->error_resilience= avctx->error_resilience; | |
821 | 824 |
822 if(avctx->flags&CODEC_FLAG_DR1){ | 825 if(avctx->flags&CODEC_FLAG_DR1){ |
823 if(avctx->get_buffer_callback(avctx, s->width, s->height, s->pict_type) < 0){ | 826 if(avctx->get_buffer_callback(avctx, s->width, s->height, s->pict_type) < 0){ |
824 fprintf(stderr, "get_buffer() failed\n"); | 827 fprintf(stderr, "get_buffer() failed\n"); |
825 return -1; | 828 return -1; |