aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mjpegdec.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-10-21 22:44:41 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-10-21 22:44:41 +0000
commit5675a11f9277b5c7b1c9ad45da893e9ef9a42f03 (patch)
tree6c6c4ee0d9c3b3a5d7de140ab0a83bde348d804a /libavcodec/mjpegdec.h
parent8870b2514054f50ce35a6d6717dd44db6595e764 (diff)
downloadffmpeg-5675a11f9277b5c7b1c9ad45da893e9ef9a42f03.tar.gz
Add a seperate VLC table for progressive jpeg so we dont have to subtract 16 in the inner loop.
Originally committed as revision 25545 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mjpegdec.h')
-rw-r--r--libavcodec/mjpegdec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mjpegdec.h b/libavcodec/mjpegdec.h
index bbf734b56f..7baa5dc286 100644
--- a/libavcodec/mjpegdec.h
+++ b/libavcodec/mjpegdec.h
@@ -44,7 +44,7 @@ typedef struct MJpegDecodeContext {
uint8_t *buffer;
int16_t quant_matrixes[4][64];
- VLC vlcs[2][4];
+ VLC vlcs[3][4];
int qscale[4]; ///< quantizer scale calculated from quant_matrixes
int org_height; /* size given at codec init */