comparison indeo3.c @ 4801:66ef3690d108 libavcodec

Remove superfluous setting of has_b_frames in codecs without B-frames. patch by Nicholas Tung, ntung ntung com
author diego
date Sat, 07 Apr 2007 17:37:30 +0000
parents 16c24b902f43
children f99e40a7155b
comparison
equal deleted inserted replaced
4800:d6b2ddac2c5e 4801:66ef3690d108
1064 1064
1065 s->avctx = avctx; 1065 s->avctx = avctx;
1066 s->width = avctx->width; 1066 s->width = avctx->width;
1067 s->height = avctx->height; 1067 s->height = avctx->height;
1068 avctx->pix_fmt = PIX_FMT_YUV410P; 1068 avctx->pix_fmt = PIX_FMT_YUV410P;
1069 avctx->has_b_frames = 0;
1070 1069
1071 build_modpred(s); 1070 build_modpred(s);
1072 iv_alloc_frames(s); 1071 iv_alloc_frames(s);
1073 1072
1074 return 0; 1073 return 0;