From f4585e666fc9b8308019bd21e6f8576c7b953c42 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 7 Oct 2015 02:41:40 +0200 Subject: [PATCH] avformat/flvdec: Print stream type in case a new stream is discovered after the header Signed-off-by: Michael Niedermayer --- libavformat/flvdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index bd49e9f593..79bcaee505 100644 --- a/libavformat/flvdec.c +++ b/libavformat/flvdec.c @@ -953,7 +953,7 @@ skip: } if (i == s->nb_streams) { static const enum AVMediaType stream_types[] = {AVMEDIA_TYPE_VIDEO, AVMEDIA_TYPE_AUDIO, AVMEDIA_TYPE_SUBTITLE}; - av_log(s, AV_LOG_WARNING, "Stream discovered after head already parsed\n"); + av_log(s, AV_LOG_WARNING, "%s stream discovered after head already parsed\n", av_get_media_type_string(stream_types[stream_type])); st = create_stream(s, stream_types[stream_type]); if (!st) return AVERROR(ENOMEM);