[gtk/wip/otte/for-main: 2/3] ffmpeg: Hey, this variable is const now!




commit 25520964af2b8e24b210d2993ae6912c23c38b41
Author: Benjamin Otte <otte redhat com>
Date:   Tue Apr 26 19:39:20 2022 +0200

    ffmpeg: Hey, this variable is const now!

 modules/media/gtkffmediafile.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/modules/media/gtkffmediafile.c b/modules/media/gtkffmediafile.c
index ff5225e845..819d14d2c1 100644
--- a/modules/media/gtkffmediafile.c
+++ b/modules/media/gtkffmediafile.c
@@ -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 ();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]