diff --git a/ffplay.c b/ffplay.c
index 64198c0487c804eb9070296955c0ea59561ed2cd..f6168b52018da83ceb3f06546354fede0a5d74cd 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -2145,6 +2145,7 @@ static int audio_decode_frame(VideoState *is, double *pts_ptr)
         /* free the current packet */
         if (pkt->data)
             av_free_packet(pkt);
+        memset(pkt_temp, 0, sizeof(*pkt_temp));
 
         if (is->paused || is->audioq.abort_request) {
             return -1;