diff options
author | anatoly <anatoly.nenashev@ovsoft.ru> | 2011-03-27 22:16:24 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-04-26 22:06:13 +0200 |
commit | 7e6a9e64447a300cdd067c5e1bd7e72806530134 (patch) | |
tree | 739586c6d893ebedeb035942a1bcd50074326aad /libavcodec/mjpegdec.h | |
parent | 34686566f34441f8718bf0dab38de7c959cdca1d (diff) | |
download | ffmpeg-7e6a9e64447a300cdd067c5e1bd7e72806530134.tar.gz |
Move MJPEG's input buffer preprocessing in separate public function
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, 3 insertions, 0 deletions
diff --git a/libavcodec/mjpegdec.h b/libavcodec/mjpegdec.h index f3eb3ecdfc..9c78ab21ea 100644 --- a/libavcodec/mjpegdec.h +++ b/libavcodec/mjpegdec.h @@ -117,5 +117,8 @@ int ff_mjpeg_decode_dht(MJpegDecodeContext *s); int ff_mjpeg_decode_sof(MJpegDecodeContext *s); int ff_mjpeg_decode_sos(MJpegDecodeContext *s, const uint8_t *mb_bitmask, const AVFrame *reference); +int ff_mjpeg_find_marker(MJpegDecodeContext *s, + const uint8_t **buf_ptr, const uint8_t *buf_end, + const uint8_t **unescaped_buf_ptr, int *unescaped_buf_size); #endif /* AVCODEC_MJPEGDEC_H */ |