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/ljpegenc.c | |
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/ljpegenc.c')
-rw-r--r-- | libavcodec/ljpegenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ljpegenc.c b/libavcodec/ljpegenc.c index 35b82fdea2..b7e3d358c7 100644 --- a/libavcodec/ljpegenc.c +++ b/libavcodec/ljpegenc.c @@ -233,7 +233,7 @@ static int ljpeg_encode_frame(AVCodecContext *avctx, AVPacket *pkt, init_put_bits(&pb, pkt->data, pkt->size); ff_mjpeg_encode_picture_header(avctx, &pb, &s->scantable, - s->matrix); + s->matrix, s->matrix); header_bits = put_bits_count(&pb); |