Mercurial > libavcodec.hg
comparison msrle.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 | c8c591fe26f8 |
children | b3ee9a1526b0 |
comparison
equal
deleted
inserted
replaced
4800:d6b2ddac2c5e | 4801:66ef3690d108 |
---|---|
242 MsrleContext *s = (MsrleContext *)avctx->priv_data; | 242 MsrleContext *s = (MsrleContext *)avctx->priv_data; |
243 | 243 |
244 s->avctx = avctx; | 244 s->avctx = avctx; |
245 | 245 |
246 avctx->pix_fmt = PIX_FMT_PAL8; | 246 avctx->pix_fmt = PIX_FMT_PAL8; |
247 avctx->has_b_frames = 0; | |
248 s->frame.data[0] = NULL; | 247 s->frame.data[0] = NULL; |
249 | 248 |
250 return 0; | 249 return 0; |
251 } | 250 } |
252 | 251 |