Mercurial > libavcodec.hg
comparison tiertexseqv.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 | 986d6651a452 |
children | b3ee9a1526b0 |
comparison
equal
deleted
inserted
replaced
4800:d6b2ddac2c5e | 4801:66ef3690d108 |
---|---|
178 { | 178 { |
179 SeqVideoContext *seq = (SeqVideoContext *)avctx->priv_data; | 179 SeqVideoContext *seq = (SeqVideoContext *)avctx->priv_data; |
180 | 180 |
181 seq->avctx = avctx; | 181 seq->avctx = avctx; |
182 avctx->pix_fmt = PIX_FMT_PAL8; | 182 avctx->pix_fmt = PIX_FMT_PAL8; |
183 avctx->has_b_frames = 0; | |
184 | 183 |
185 seq->frame.data[0] = NULL; | 184 seq->frame.data[0] = NULL; |
186 | 185 |
187 return 0; | 186 return 0; |
188 } | 187 } |