Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-12-22 04:28:04 +0300
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-04 18:28:54 +0300
commit8a0981d0131e648c84e9996bd024d5cdbd791599 (patch)
tree63c04b28a26513731f268882b9a507b4c2d215dd /libavcodec/ljpegenc.c
parent7aee9e326f7f3105f9477d92742edae6d83c9a14 (diff)
avcodec/mjpegenc_common: Pass MJpegContext for writing picture header
It is the structure that is actually used. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/ljpegenc.c')
-rw-r--r--libavcodec/ljpegenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ljpegenc.c b/libavcodec/ljpegenc.c
index ecdedeb6a3..e15f448f90 100644
--- a/libavcodec/ljpegenc.c
+++ b/libavcodec/ljpegenc.c
@@ -238,7 +238,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,
+ ff_mjpeg_encode_picture_header(avctx, &pb, NULL, &s->scantable,
s->pred, s->matrix, s->matrix);
header_bits = put_bits_count(&pb);