summaryrefslogtreecommitdiff
path: root/libavformat/flvdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-10-07 02:41:40 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-10-07 02:41:40 +0200
commitf4585e666fc9b8308019bd21e6f8576c7b953c42 (patch)
tree03e065049749bc9d2d3102459b057d69828c02a2 /libavformat/flvdec.c
parent285e41c34c9c865cd29eb304998dca9ae999c8eb (diff)
downloadffmpeg-f4585e666fc9b8308019bd21e6f8576c7b953c42.tar.gz
avformat/flvdec: Print stream type in case a new stream is discovered after the header
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/flvdec.c')
-rw-r--r--libavformat/flvdec.c2
1 files changed, 1 insertions, 1 deletions
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);