From efb5b618f1c1471c1a7900aed3a59d851ea9a210 Mon Sep 17 00:00:00 2001 From: Paul Jonkins Date: Wed, 23 Jun 2021 17:53:55 +0200 Subject: [PATCH] Constify AVCodec --- libffmpegthumbnailer/moviedecoder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libffmpegthumbnailer/moviedecoder.h b/libffmpegthumbnailer/moviedecoder.h index 3ef5f12..fb6add2 100644 --- a/libffmpegthumbnailer/moviedecoder.h +++ b/libffmpegthumbnailer/moviedecoder.h @@ -78,7 +78,7 @@ class MovieDecoder int m_VideoStream; AVFormatContext* m_pFormatContext; AVCodecContext* m_pVideoCodecContext; - AVCodec* m_pVideoCodec; + const AVCodec* m_pVideoCodec; AVFilterGraph* m_pFilterGraph; AVFilterContext* m_pFilterSource; AVFilterContext* m_pFilterSink;