summaryrefslogtreecommitdiff
path: root/modules/media/gtkffmediafile.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/media/gtkffmediafile.c')
-rw-r--r--modules/media/gtkffmediafile.c2
1 files changed, 1 insertions, 1 deletions
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 ();