From efe8bb095b1ba8dff9b1131b76b9a48095f13104 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sat, 27 Mar 2010 12:35:40 +0000 Subject: [PATCH] 10l: Initialize tag to NULL in show_stream, fix metadata showing in streams. Originally committed as revision 22698 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffprobe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffprobe.c b/ffprobe.c index b6ac061010..316e927346 100644 --- a/ffprobe.c +++ b/ffprobe.c @@ -118,7 +118,7 @@ static void show_stream(AVFormatContext *fmt_ctx, int stream_idx) AVCodecContext *dec_ctx; AVCodec *dec; char val_str[128]; - AVMetadataTag *tag; + AVMetadataTag *tag = NULL; char a, b, c, d; printf("[STREAM]\n");