1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +02:00

avcodec/crystalhd: Remove unused packet

Unused since 41b0561dc7.

Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
Andreas Rheinhardt 2020-09-11 16:28:25 +02:00
parent e46f34e85b
commit f5a61a1728

View File

@ -657,7 +657,6 @@ static int crystalhd_decode_packet(AVCodecContext *avctx, const AVPacket *avpkt)
BC_STATUS bc_ret; BC_STATUS bc_ret;
CHDContext *priv = avctx->priv_data; CHDContext *priv = avctx->priv_data;
HANDLE dev = priv->dev; HANDLE dev = priv->dev;
AVPacket filtered_packet = { 0 };
int ret = 0; int ret = 0;
av_log(avctx, AV_LOG_VERBOSE, "CrystalHD: decode_packet\n"); av_log(avctx, AV_LOG_VERBOSE, "CrystalHD: decode_packet\n");
@ -700,7 +699,6 @@ static int crystalhd_decode_packet(AVCodecContext *avctx, const AVPacket *avpkt)
goto exit; goto exit;
} }
exit: exit:
av_packet_unref(&filtered_packet);
return ret; return ret;
} }