From 3c73b36cca0707922ef970c2a0fa17d0570dcc00 Mon Sep 17 00:00:00 2001 From: Jesse Talavera Date: Mon, 16 Dec 2024 16:45:12 -0500 Subject: [PATCH] Remove `const` from some fields --- camera/drivers/ffmpeg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/camera/drivers/ffmpeg.c b/camera/drivers/ffmpeg.c index 95bbbf19d7..3ef410864a 100644 --- a/camera/drivers/ffmpeg.c +++ b/camera/drivers/ffmpeg.c @@ -81,8 +81,8 @@ typedef struct ffmpeg_camera sthread_t *poll_thread; AVFormatContext *format_context; AVCodecContext *decoder_context; - const AVCodec *decoder; - const AVInputFormat *input_format; /* owned by ffmpeg, don't free it */ + AVCodec *decoder; + AVInputFormat *input_format; /* owned by ffmpeg, don't free it */ AVDictionary *demuxer_options; AVPacket *packet; AVFrame *camera_frame;