diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-12-22 02:28:04 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-01-04 16:28:54 +0100 |
commit | 8a0981d0131e648c84e9996bd024d5cdbd791599 (patch) | |
tree | 63c04b28a26513731f268882b9a507b4c2d215dd /libavcodec/mjpegenc_common.h | |
parent | 7aee9e326f7f3105f9477d92742edae6d83c9a14 (diff) | |
download | ffmpeg-8a0981d0131e648c84e9996bd024d5cdbd791599.tar.gz |
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/mjpegenc_common.h')
-rw-r--r-- | libavcodec/mjpegenc_common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/mjpegenc_common.h b/libavcodec/mjpegenc_common.h index 76c236d835..ac753bf153 100644 --- a/libavcodec/mjpegenc_common.h +++ b/libavcodec/mjpegenc_common.h @@ -27,7 +27,10 @@ #include "idctdsp.h" #include "put_bits.h" +struct MJpegContext; + void ff_mjpeg_encode_picture_header(AVCodecContext *avctx, PutBitContext *pb, + struct MJpegContext *m, ScanTable *intra_scantable, int pred, uint16_t luma_intra_matrix[64], uint16_t chroma_intra_matrix[64]); |