diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2012-01-06 00:51:31 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2012-01-06 00:51:31 +0100 |
commit | d185278c369e9150fe6b4cf730405753384bca93 (patch) | |
tree | 27ad1fb0f85156b1d0e46c601184aaca0ad9bae6 /libavcodec/mjpegdec.h | |
parent | 427802324098eff19b307b486179b56d8b50b9a8 (diff) | |
download | ffmpeg-d185278c369e9150fe6b4cf730405753384bca93.tar.gz |
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.h | 5 |
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 */ |