diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2002-12-09 00:29:17 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-12-09 00:29:17 +0000 |
commit | 4e00e76b3cf20eff69d8c86a5376bf0a12d3f6d4 (patch) | |
tree | 8f4cf8a21ce9cee926c5d9eb411b09f3e8b11362 /libavcodec/svq1.c | |
parent | f8af5cb5a40c7fb76760ecfe03556845a83fbfe6 (diff) | |
download | ffmpeg-4e00e76b3cf20eff69d8c86a5376bf0a12d3f6d4.tar.gz |
cleanup / messup?
fixes 20% speedloss bug
removes redundant variables from MpegEncContext
release buffers in avcodec_flush_buffers() (untested)
Originally committed as revision 1325 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/svq1.c')
-rw-r--r-- | libavcodec/svq1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/svq1.c b/libavcodec/svq1.c index 86ebd73825..929dece2ae 100644 --- a/libavcodec/svq1.c +++ b/libavcodec/svq1.c @@ -1179,7 +1179,7 @@ static int svq1_decode_init(AVCodecContext *avctx) s->height = (avctx->height+3)&~3; s->codec_id= avctx->codec->id; avctx->pix_fmt = PIX_FMT_YUV410P; - avctx->has_b_frames= s->has_b_frames=1; // not true, but DP frames and these behave like unidirectional b frames + avctx->has_b_frames= 1; // not true, but DP frames and these behave like unidirectional b frames s->flags= avctx->flags; if (MPV_common_init(s) < 0) return -1; return 0; |