summaryrefslogtreecommitdiff
path: root/libavcodec/libopenh264enc.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2015-01-08 13:50:58 +0200
committerMartin Storsjö <martin@martin.st>2015-01-20 15:02:38 +0100
commitbba02479260d0e7dec8c530a7e75a1c7aa53c06e (patch)
tree7692fbe62465a274b62b979b48b3849433415290 /libavcodec/libopenh264enc.c
parentea3fc9fe68752eb1b9078b28bea18a1e781d1c2c (diff)
downloadffmpeg-bba02479260d0e7dec8c530a7e75a1c7aa53c06e.tar.gz
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@martin.st>
Diffstat (limited to 'libavcodec/libopenh264enc.c')
-rw-r--r--libavcodec/libopenh264enc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/libopenh264enc.c b/libavcodec/libopenh264enc.c
index 4110426377..2781ab170a 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