aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mjpegdec.h
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2009-10-19 15:41:28 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2009-10-19 15:41:28 +0000
commit643fc8f1076bce3c971b09400019397be98065de (patch)
tree4e14bab905ce0affa4b4b478901100a02694c343 /libavcodec/mjpegdec.h
parent11eb3cea7339633ea031b3c65da4778b5d9b38d1 (diff)
downloadffmpeg-643fc8f1076bce3c971b09400019397be98065de.tar.gz
Flip (M)JPEG frames encoded by Intel JPEG library.
Fixes issues 1464 and 1468. Originally committed as revision 20312 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mjpegdec.h')
-rw-r--r--libavcodec/mjpegdec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/mjpegdec.h b/libavcodec/mjpegdec.h
index 9ef8987db3..d7a33b8c4f 100644
--- a/libavcodec/mjpegdec.h
+++ b/libavcodec/mjpegdec.h
@@ -101,6 +101,7 @@ typedef struct MJpegDecodeContext {
int mjpb_skiptosod;
int cur_scan; /* current scan, used by JPEG-LS */
+ int flipped; /* true if picture is flipped */
} MJpegDecodeContext;
int ff_mjpeg_decode_init(AVCodecContext *avctx);