diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2006-04-28 17:03:52 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2006-04-28 17:03:52 +0000 |
commit | e27b6e62f7711fae834ee2daee9b252a4fc9f6c0 (patch) | |
tree | d5b0fdb7beec3ce405e53d3bd756774ca24a192a /libavcodec/i386/mpegvideo_mmx.c | |
parent | 6eb1427f0fbfe74946a104f067072131c693e570 (diff) | |
download | ffmpeg-e27b6e62f7711fae834ee2daee9b252a4fc9f6c0.tar.gz |
missmatch control for mpeg2 intra dequantization if bitexact=1
Originally committed as revision 5328 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386/mpegvideo_mmx.c')
-rw-r--r-- | libavcodec/i386/mpegvideo_mmx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/i386/mpegvideo_mmx.c b/libavcodec/i386/mpegvideo_mmx.c index f83df3a194..ad03629342 100644 --- a/libavcodec/i386/mpegvideo_mmx.c +++ b/libavcodec/i386/mpegvideo_mmx.c @@ -699,7 +699,8 @@ void MPV_common_init_mmx(MpegEncContext *s) s->dct_unquantize_h263_inter = dct_unquantize_h263_inter_mmx; s->dct_unquantize_mpeg1_intra = dct_unquantize_mpeg1_intra_mmx; s->dct_unquantize_mpeg1_inter = dct_unquantize_mpeg1_inter_mmx; - s->dct_unquantize_mpeg2_intra = dct_unquantize_mpeg2_intra_mmx; + if(!(s->flags & CODEC_FLAG_BITEXACT)) + s->dct_unquantize_mpeg2_intra = dct_unquantize_mpeg2_intra_mmx; s->dct_unquantize_mpeg2_inter = dct_unquantize_mpeg2_inter_mmx; draw_edges = draw_edges_mmx; |