summaryrefslogtreecommitdiff
path: root/libavcodec/libaomenc.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2019-04-16 14:20:43 +0200
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2019-04-16 14:20:43 +0200
commit1e8475b507ee013b99548a8eb599200bf8600bf2 (patch)
treeafb88d6eca61f5b9bf0b3adc10915208c3ef6b62 /libavcodec/libaomenc.c
parentbcde9ec0205656e135dc9cafa66e585dd81301ed (diff)
downloadffmpeg-1e8475b507ee013b99548a8eb599200bf8600bf2.tar.gz
lavc/libaomenc: Mark a potentially unused variable as av_unused.
Fixes a warning: libavcodec/libaomenc.c:816:9: warning: unused variable ‘pict_type’
Diffstat (limited to 'libavcodec/libaomenc.c')
-rw-r--r--libavcodec/libaomenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libaomenc.c b/libavcodec/libaomenc.c
index a42a5b7027..9b4fb3b4eb 100644
--- a/libavcodec/libaomenc.c
+++ b/libavcodec/libaomenc.c
@@ -813,7 +813,7 @@ static int storeframe(AVCodecContext *avctx, struct FrameListData *cx_frame,
AVPacket *pkt)
{
AOMContext *ctx = avctx->priv_data;
- int pict_type;
+ int av_unused pict_type;
int ret = ff_alloc_packet2(avctx, pkt, cx_frame->sz, 0);
if (ret < 0) {
av_log(avctx, AV_LOG_ERROR,