You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
lavc/libaomenc: Mark a potentially unused variable as av_unused.
Fixes a warning: libavcodec/libaomenc.c:816:9: warning: unused variable ‘pict_type’
This commit is contained in:
@@ -813,7 +813,7 @@ static int storeframe(AVCodecContext *avctx, struct FrameListData *cx_frame,
|
|||||||
AVPacket *pkt)
|
AVPacket *pkt)
|
||||||
{
|
{
|
||||||
AOMContext *ctx = avctx->priv_data;
|
AOMContext *ctx = avctx->priv_data;
|
||||||
int pict_type;
|
int av_unused pict_type;
|
||||||
int ret = ff_alloc_packet2(avctx, pkt, cx_frame->sz, 0);
|
int ret = ff_alloc_packet2(avctx, pkt, cx_frame->sz, 0);
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
av_log(avctx, AV_LOG_ERROR,
|
av_log(avctx, AV_LOG_ERROR,
|
||||||
|
Reference in New Issue
Block a user