]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/crystalhd: Remove unused packet
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Fri, 11 Sep 2020 14:28:25 +0000 (16:28 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sun, 13 Sep 2020 03:03:44 +0000 (05:03 +0200)
Unused since 41b0561dc7246b72a834067da539ae98b1ec6631.

Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/crystalhd.c

index e3c5955969e16b44a106e7ede5bdf3c1565cb88b..228803183affe01bec315623a679072f5126c9b4 100644 (file)
@@ -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;
 }