From 74154c258f9d815ffa9a8fc7ef28775ef14e42b9 Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Mon, 7 Aug 2017 14:05:14 +0300 Subject: [PATCH] rtmpsrc: remove unused macro --- ext/rtmp/gstrtmpsrc.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/ext/rtmp/gstrtmpsrc.c b/ext/rtmp/gstrtmpsrc.c index 69cec91a63..14a3d27d03 100644 --- a/ext/rtmp/gstrtmpsrc.c +++ b/ext/rtmp/gstrtmpsrc.c @@ -565,11 +565,6 @@ gst_rtmp_src_do_seek (GstBaseSrc * basesrc, GstSegment * segment) return TRUE; } -#define STR2AVAL(av,str) G_STMT_START { \ - av.av_val = str; \ - av.av_len = strlen(av.av_val); \ -} G_STMT_END; - /* open the file, do stuff necessary to go to PAUSED state */ static gboolean gst_rtmp_src_start (GstBaseSrc * basesrc) @@ -622,8 +617,6 @@ error: return FALSE; } -#undef STR2AVAL - static gboolean gst_rtmp_src_unlock (GstBaseSrc * basesrc) {