[FFmpeg-devel] [PATCH 42/45] avcodec/smvjpegdec: Use pointer to const AVCodec
Andreas Rheinhardt
andreas.rheinhardt at gmail.com
Fri Nov 27 03:02:46 EET 2020
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
libavcodec/smvjpegdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/smvjpegdec.c b/libavcodec/smvjpegdec.c
index 72c8f34370..f153f6e390 100644
--- a/libavcodec/smvjpegdec.c
+++ b/libavcodec/smvjpegdec.c
@@ -88,7 +88,7 @@ static av_cold int smvjpeg_decode_end(AVCodecContext *avctx)
static av_cold int smvjpeg_decode_init(AVCodecContext *avctx)
{
SMVJpegDecodeContext *s = avctx->priv_data;
- AVCodec *codec;
+ const AVCodec *codec;
AVDictionary *thread_opt = NULL;
int ret;
--
2.25.1
More information about the ffmpeg-devel
mailing list