summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-11 16:28:25 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-13 05:03:44 +0200
commitf5a61a1728cba3fdd19370e8a020063676604efa (patch)
tree451723a2c62630ca4b4cedc8a650f8d2e6dbe525
parente46f34e85bf2306894fcaf7e3693dac7c29bc1d6 (diff)
avcodec/crystalhd: Remove unused packet
Unused since 41b0561dc7246b72a834067da539ae98b1ec6631. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r--libavcodec/crystalhd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/crystalhd.c b/libavcodec/crystalhd.c
index e3c5955969..228803183a 100644
--- a/libavcodec/crystalhd.c
+++ b/libavcodec/crystalhd.c
@@ -657,7 +657,6 @@ static int crystalhd_decode_packet(AVCodecContext *avctx, const AVPacket *avpkt)
BC_STATUS bc_ret;
CHDContext *priv = avctx->priv_data;
HANDLE dev = priv->dev;
- AVPacket filtered_packet = { 0 };
int ret = 0;
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;
}
exit:
- av_packet_unref(&filtered_packet);
return ret;
}