Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2012-01-06 03:51:31 +0400
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2012-01-06 03:51:31 +0400
commitd185278c369e9150fe6b4cf730405753384bca93 (patch)
tree27ad1fb0f85156b1d0e46c601184aaca0ad9bae6 /libavcodec/mjpegdec.h
parent427802324098eff19b307b486179b56d8b50b9a8 (diff)
Support decoding of some unusual jpeg samples.
Avoid unsupported pix_fmts by upscaling chroma. Fixes ticket #878.
Diffstat (limited to 'libavcodec/mjpegdec.h')
-rw-r--r--libavcodec/mjpegdec.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/mjpegdec.h b/libavcodec/mjpegdec.h
index 23bc077558..23b3498f65 100644
--- a/libavcodec/mjpegdec.h
+++ b/libavcodec/mjpegdec.h
@@ -58,8 +58,9 @@ typedef struct MJpegDecodeContext {
int ls;
int progressive;
int rgb;
- int yuv421;
- int yuv442;
+ int upscale_h;
+ int chroma_height;
+ int upscale_v;
int rct; /* standard rct */
int pegasus_rct; /* pegasus reversible colorspace transform */
int bits; /* bits per component */