]> git.sesse.net Git - ffmpeg/commitdiff
avformat/flvdec: remove meaningless warning
authorwm4 <nfxjfg@googlemail.com>
Thu, 2 Mar 2017 10:00:40 +0000 (11:00 +0100)
committerwm4 <nfxjfg@googlemail.com>
Mon, 6 Mar 2017 10:08:03 +0000 (11:08 +0100)
Ever since the codecpar changes, this has been always printed when
opening a flv file. This is because the codecpar changes made all
streams to be added lazily as read_packet is called.

libavformat/flvdec.c

index 520a3a0034afbc8a603a5964402f82fcf7121fb4..3959a3665a39c5ed30290c746c8fce1910f84b62 100644 (file)
@@ -1033,7 +1033,6 @@ 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, "%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);