diff --git a/ffplay.c b/ffplay.c index ebe31d18b9..218ea6d102 100644 --- a/ffplay.c +++ b/ffplay.c @@ -2071,7 +2071,7 @@ static int decode_thread(void *arg) } if(url_feof(ic->pb)) { av_init_packet(pkt); - pkt->data= + pkt->data=NULL; pkt->size=0; pkt->stream_index= is->video_stream; packet_queue_put(&is->videoq, pkt);