[FFmpeg-cvslog] avformat/flvdec: Print stream type in case a new stream is discovered after the header
Michael Niedermayer
git at videolan.org
Wed Oct 7 04:47:27 CEST 2015
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Wed Oct 7 02:41:40 2015 +0200| [f4585e666fc9b8308019bd21e6f8576c7b953c42] | committer: Michael Niedermayer
avformat/flvdec: Print stream type in case a new stream is discovered after the header
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f4585e666fc9b8308019bd21e6f8576c7b953c42
---
libavformat/flvdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index bd49e9f..79bcaee 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);
More information about the ffmpeg-cvslog
mailing list