diff options
author | Nicholas Tung <ntung@ntung.com> | 2007-04-07 17:37:30 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2007-04-07 17:37:30 +0000 |
commit | 587d07227eed8021ac38dc352ba72ee5b6714380 (patch) | |
tree | 5847ed38addd253658a09d052fa507eeb4cd53c1 /libavcodec/roqvideo.c | |
parent | d1e0d21f9492215b324fe7872e050b2d48a55c1d (diff) | |
download | ffmpeg-587d07227eed8021ac38dc352ba72ee5b6714380.tar.gz |
Remove superfluous setting of has_b_frames in codecs without B-frames.
patch by Nicholas Tung, ntung ntung com
Originally committed as revision 8647 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/roqvideo.c')
-rw-r--r-- | libavcodec/roqvideo.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/roqvideo.c b/libavcodec/roqvideo.c index 2a9aa6242e..0ac97b297c 100644 --- a/libavcodec/roqvideo.c +++ b/libavcodec/roqvideo.c @@ -411,7 +411,6 @@ static int roq_decode_init(AVCodecContext *avctx) s->last_frame = &s->frames[0]; s->current_frame = &s->frames[1]; avctx->pix_fmt = PIX_FMT_YUV420P; - avctx->has_b_frames = 0; dsputil_init(&s->dsp, avctx); uiclp = uiclip+512; |