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
This commit is contained in:
Stefano Sabatini 2010-03-27 12:35:40 +00:00
parent c271ad21ac
commit efe8bb095b

View File

@ -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");