summaryrefslogtreecommitdiff
path: root/libavcodec/mjpegdec.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-03-18 23:05:22 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-03-18 23:13:44 +0100
commite15455891bc673f9767c1ececa3fa92f05267ce3 (patch)
treef131be68f083ed7210c73f0113a68d979162a8a4 /libavcodec/mjpegdec.h
parentee648903f5e65b6f17f12326d2c50310a993be87 (diff)
downloadffmpeg-e15455891bc673f9767c1ececa3fa92f05267ce3.tar.gz
avcodec/mjpegdec: Change upscale_* to an array instead of a bitmask
This allows storing integer factors instead of just 0 and 1 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mjpegdec.h')
-rw-r--r--libavcodec/mjpegdec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mjpegdec.h b/libavcodec/mjpegdec.h
index deacabe752..28d3e4aa7d 100644
--- a/libavcodec/mjpegdec.h
+++ b/libavcodec/mjpegdec.h
@@ -62,8 +62,8 @@ typedef struct MJpegDecodeContext {
int ls;
int progressive;
int rgb;
- int upscale_h;
- int upscale_v;
+ uint8_t upscale_h[4];
+ uint8_t upscale_v[4];
int rct; /* standard rct */
int pegasus_rct; /* pegasus reversible colorspace transform */
int bits; /* bits per component */