10l: Initialize tag to NULL in show_stream, fix metadata showing in
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 27 Mar 2010 12:35:40 +0000 (12:35 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 27 Mar 2010 12:35:40 +0000 (12:35 +0000)
streams.

Originally committed as revision 22698 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffprobe.c

index b6ac061..316e927 100644 (file)
--- 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");