Silence ffmpeg camera warnings

This commit is contained in:
sonninnos 2025-06-18 00:36:29 +03:00
parent f85b738258
commit 1f5804cb59
1 changed files with 2 additions and 2 deletions

View File

@ -49,8 +49,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 *options;
AVPacket *packet;
AVFrame *camera_frame;