From e15455891bc673f9767c1ececa3fa92f05267ce3 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 18 Mar 2015 23:05:22 +0100 Subject: 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 --- libavcodec/mjpegdec.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/mjpegdec.h') 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 */ -- cgit v1.2.1