[FFmpeg-cvslog] libopenh264enc: Remove a workaround for silencing warnings about unused variables in the OpenH264 header

Martin Storsjö git at videolan.org
Tue Jan 20 21:29:09 CET 2015


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Thu Jan  8 13:50:58 2015 +0200| [bba02479260d0e7dec8c530a7e75a1c7aa53c06e] | committer: Martin Storsjö

libopenh264enc: Remove a workaround for silencing warnings about unused variables in the OpenH264 header

The 1.3 release branch of OpenH264 (as well as the master branch)
have been updated so that GCC no longer warns about this variable
as being unused.

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bba02479260d0e7dec8c530a7e75a1c7aa53c06e
---

 libavcodec/libopenh264enc.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/libavcodec/libopenh264enc.c b/libavcodec/libopenh264enc.c
index 4110426..2781ab1 100644
--- a/libavcodec/libopenh264enc.c
+++ b/libavcodec/libopenh264enc.c
@@ -70,7 +70,6 @@ static av_cold int svc_encode_init(AVCodecContext *avctx)
     SEncParamExt param = { 0 };
     int err = AVERROR_UNKNOWN;
     av_unused OpenH264Version libver;
-    (void)g_strCodecVer; // Avoid warnings due to unused static members from codec_ver.h
 
     // Mingw GCC < 4.7 on x86_32 uses an incorrect/buggy ABI for the WelsGetCodecVersion
     // function (for functions returning larger structs), thus skip the check in those



More information about the ffmpeg-cvslog mailing list