comparison cinepak.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 05e932ddaaa9
children b3ee9a1526b0
comparison
equal deleted inserted replaced
4800:d6b2ddac2c5e 4801:66ef3690d108
405 } else { 405 } else {
406 s->palette_video = 1; 406 s->palette_video = 1;
407 avctx->pix_fmt = PIX_FMT_PAL8; 407 avctx->pix_fmt = PIX_FMT_PAL8;
408 } 408 }
409 409
410 avctx->has_b_frames = 0;
411 dsputil_init(&s->dsp, avctx); 410 dsputil_init(&s->dsp, avctx);
412 411
413 s->frame.data[0] = NULL; 412 s->frame.data[0] = NULL;
414 413
415 return 0; 414 return 0;