diff options
author | anatoly <anatoly.nenashev@ovsoft.ru> | 2011-03-27 22:16:23 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-04-26 22:06:13 +0200 |
commit | 34686566f34441f8718bf0dab38de7c959cdca1d (patch) | |
tree | 9ee93674ac09813be9be806331a919c0248631b3 /libavcodec/mjpegdec.h | |
parent | d439ba15fd400201834bfdd84becbff239242622 (diff) | |
download | ffmpeg-34686566f34441f8718bf0dab38de7c959cdca1d.tar.gz |
Support reference picture defined by bitmask in MJPEG's SOS decoder
With cleanup & simplification by me
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mjpegdec.h')
-rw-r--r-- | libavcodec/mjpegdec.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/mjpegdec.h b/libavcodec/mjpegdec.h index 7baa5dc286..f3eb3ecdfc 100644 --- a/libavcodec/mjpegdec.h +++ b/libavcodec/mjpegdec.h @@ -115,6 +115,7 @@ int ff_mjpeg_decode_frame(AVCodecContext *avctx, int ff_mjpeg_decode_dqt(MJpegDecodeContext *s); int ff_mjpeg_decode_dht(MJpegDecodeContext *s); int ff_mjpeg_decode_sof(MJpegDecodeContext *s); -int ff_mjpeg_decode_sos(MJpegDecodeContext *s); +int ff_mjpeg_decode_sos(MJpegDecodeContext *s, + const uint8_t *mb_bitmask, const AVFrame *reference); #endif /* AVCODEC_MJPEGDEC_H */ |