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,