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
release/0.6
Stefano Sabatini 15 years ago
parent c271ad21ac
commit efe8bb095b
  1. 2
      ffprobe.c

@ -118,7 +118,7 @@ static void show_stream(AVFormatContext *fmt_ctx, int stream_idx)
AVCodecContext *dec_ctx; AVCodecContext *dec_ctx;
AVCodec *dec; AVCodec *dec;
char val_str[128]; char val_str[128];
AVMetadataTag *tag; AVMetadataTag *tag = NULL;
char a, b, c, d; char a, b, c, d;
printf("[STREAM]\n"); printf("[STREAM]\n");

Loading…
Cancel
Save