diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-01-11 21:26:51 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-01-11 21:26:51 +0100 |
commit | 859d74040e4b56b605abe92b00c0060b48eee73a (patch) | |
tree | 608d2b9854dce82d34891a350be62b36cdfee0f4 /libavcodec/mjpegenc.h | |
parent | 419787a2ffe31c6c70e542aae8c93c00f3aeb237 (diff) | |
download | ffmpeg-859d74040e4b56b605abe92b00c0060b48eee73a.tar.gz |
avcodec/mjpegenc: pass chroma quantization matrix through as well, not just luma
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mjpegenc.h')
-rw-r--r-- | libavcodec/mjpegenc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/mjpegenc.h b/libavcodec/mjpegenc.h index 4b19e214d8..c5b05b511b 100644 --- a/libavcodec/mjpegenc.h +++ b/libavcodec/mjpegenc.h @@ -53,7 +53,8 @@ int ff_mjpeg_encode_init(MpegEncContext *s); void ff_mjpeg_encode_close(MpegEncContext *s); void ff_mjpeg_encode_picture_header(AVCodecContext *avctx, PutBitContext *pb, ScanTable *intra_scantable, - uint16_t intra_matrix[64]); + uint16_t luma_intra_matrix[64], + uint16_t chroma_intra_matrix[64]); void ff_mjpeg_encode_picture_trailer(PutBitContext *pb, int header_bits); void ff_mjpeg_escape_FF(PutBitContext *pb, int start); void ff_mjpeg_encode_stuffing(MpegEncContext *s); |