Browse Source

lavc/libaomenc: Mark a potentially unused variable as av_unused.

Fixes a warning:
libavcodec/libaomenc.c:816:9: warning: unused variable ‘pict_type’
tags/n4.2
Carl Eugen Hoyos 7 years ago
parent
commit
1e8475b507
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/libaomenc.c

+ 1
- 1
libavcodec/libaomenc.c View File

@@ -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,


Loading…
Cancel
Save