diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-12-05 19:26:02 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-12-05 19:31:27 +0100 |
commit | b023392f348e713a4a938f8fda8507e20458cec9 (patch) | |
tree | c593defe6e12954b5eec858f16a58fce47a7a87c /libavcodec/x86/mpegvideo.c | |
parent | 4012cd6c4f19f09cac86c9b8c9738f27bb691764 (diff) | |
download | ffmpeg-b023392f348e713a4a938f8fda8507e20458cec9.tar.gz |
mpegvideo: remove #if/define PARANOID code
This code never did anything as far as i can remember
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/x86/mpegvideo.c')
-rw-r--r-- | libavcodec/x86/mpegvideo.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libavcodec/x86/mpegvideo.c b/libavcodec/x86/mpegvideo.c index 7c7ca87a13..325eca263a 100644 --- a/libavcodec/x86/mpegvideo.c +++ b/libavcodec/x86/mpegvideo.c @@ -166,14 +166,6 @@ __asm__ volatile( /* - NK: - Note: looking at PARANOID: - "enable all paranoid tests for rounding, overflows, etc..." - -#ifdef PARANOID - if (level < -2048 || level > 2047) - fprintf(stderr, "unquant error %d %d\n", i, level); -#endif We can suppose that result of two multiplications can't be greater than 0xFFFF i.e. is 16-bit, so we use here only PMULLW instruction and can avoid a complex multiplication. |