libav: G_CONST_RETURN is deprecated since GLib 2.30
authorSebastian Dröge <sebastian@centricular.com>
Fri, 2 Oct 2015 20:02:01 +0000 (23:02 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 2 Oct 2015 20:02:01 +0000 (23:02 +0300)
ext/libav/gstavutils.c
ext/libav/gstavutils.h

index e7d24f8dce9ae5119b092b235d6c4fde9b784480..c434202390a62735b4053abcecbf4b693720e204 100644 (file)
@@ -31,7 +31,7 @@
 
 #include <libavutil/mem.h>
 
-G_CONST_RETURN gchar *
+const gchar *
 gst_ffmpeg_get_codecid_longname (enum AVCodecID codec_id)
 {
   AVCodec *codec;
index 886d90218c201e6daae51cf68f42f7f3da0b35ee..6d111a2126f5da09d84fb570ec4ff02b967a74e8 100644 (file)
@@ -85,7 +85,7 @@ gst_ffmpeg_init_pix_fmt_info(void);
 int
 gst_ffmpeg_auto_max_threads(void);
 
-G_CONST_RETURN gchar *
+const gchar *
 gst_ffmpeg_get_codecid_longname (enum AVCodecID codec_id);
 
 gint