diff --git a/libavfilter/vf_uspp.c b/libavfilter/vf_uspp.c
index ffd340a4cb60f6a66ef7be5116faa9310c41966c..2974ebe405ebbd78595fc3cd9f7964963c46fdda 100644
--- a/libavfilter/vf_uspp.c
+++ b/libavfilter/vf_uspp.c
@@ -250,7 +250,7 @@ static void filter(USPPContext *p, uint8_t *dst[3], uint8_t *src[3],
         const int y1c = y1 >> p->vsub;
         const int BLOCKc = BLOCK >> p->hsub;
         int offset;
-        AVPacket pkt;
+        AVPacket pkt = {0};
         int got_pkt_ptr;
 
         av_init_packet(&pkt);