Mercurial > libavcodec.hg
diff i386/mpegvideo_mmx.c @ 3281:7fac25904a8b libavcodec
missmatch control for mpeg2 intra dequantization if bitexact=1
author | michael |
---|---|
date | Fri, 28 Apr 2006 17:03:52 +0000 |
parents | 0b546eab515d |
children | e0927bc44a10 |
line wrap: on
line diff
--- a/i386/mpegvideo_mmx.c Fri Apr 28 14:19:11 2006 +0000 +++ b/i386/mpegvideo_mmx.c Fri Apr 28 17:03:52 2006 +0000 @@ -699,7 +699,8 @@ 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;