aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/flashsv.c
diff options
context:
space:
mode:
authorNicholas Tung2007-04-07 17:37:30 +0000
committerDiego Biurrun2007-04-07 17:37:30 +0000
commit587d07227eed8021ac38dc352ba72ee5b6714380 (patch)
tree5847ed38addd253658a09d052fa507eeb4cd53c1 /libavcodec/flashsv.c
parentd1e0d21f9492215b324fe7872e050b2d48a55c1d (diff)
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/flashsv.c')
-rw-r--r--libavcodec/flashsv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/flashsv.c b/libavcodec/flashsv.c
index 9e4aa951ae..515085c028 100644
--- a/libavcodec/flashsv.c
+++ b/libavcodec/flashsv.c
@@ -95,7 +95,6 @@ static int flashsv_decode_init(AVCodecContext *avctx)
return 1;
}
avctx->pix_fmt = PIX_FMT_BGR24;
- avctx->has_b_frames = 0;
s->frame.data[0] = NULL;
return 0;