ffmpeg: Hey, this variable is const now!

This commit is contained in:
Benjamin Otte 2022-04-26 19:39:20 +02:00
parent ea79f2dcf4
commit 25520964af

View File

@ -483,7 +483,7 @@ gtk_ff_media_file_open (GtkMediaFile *file)
{
GtkFfMediaFile *video = GTK_FF_MEDIA_FILE (file);
AVStream *stream;
AVCodec *codec;
const AVCodec *codec;
int errnum;
video->format_ctx = avformat_alloc_context ();