summaryrefslogtreecommitdiff
path: root/libavcodec/mpeg12.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-07-31 20:44:48 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-07-31 20:44:48 +0000
commit5bfbf0a54f990bbe7d3014ebc53e8f1c0b30a78b (patch)
treee31162e74ef9792bde9883457b7804f964265e3e /libavcodec/mpeg12.c
parentb9ca20428408388184be0f4c95c4ffe14743ec68 (diff)
chroma_qscale seems not used anywhere for mpeg1/2 so do not waste cpu time setting it
Originally committed as revision 9842 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpeg12.c')
-rw-r--r--libavcodec/mpeg12.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c
index a570ae410f..de58b8f3c5 100644
--- a/libavcodec/mpeg12.c
+++ b/libavcodec/mpeg12.c
@@ -1739,7 +1739,6 @@ static int mpeg_decode_slice(Mpeg1Context *s1, int mb_y,
#endif
ret = mpeg_decode_mb(s, s->block);
- s->chroma_qscale= s->qscale;
dprintf(s->avctx, "ret=%d\n", ret);
if (ret < 0)