aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mjpegenc_common.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-12-22 02:28:04 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-04 16:28:54 +0100
commit8a0981d0131e648c84e9996bd024d5cdbd791599 (patch)
tree63c04b28a26513731f268882b9a507b4c2d215dd /libavcodec/mjpegenc_common.h
parent7aee9e326f7f3105f9477d92742edae6d83c9a14 (diff)
downloadffmpeg-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.h3
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]);