diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index 3772cd967f..8e4cc5e09d 100644 --- a/libavformat/flvdec.c +++ b/libavformat/flvdec.c @@ -559,14 +559,6 @@ static int flv_read_header(AVFormatContext *s) avio_skip(s->pb, 4); flags = avio_r8(s->pb); - /* old flvtool cleared this field */ - /* FIXME: better fix needed */ - if (!flags) { - flags = FLV_HEADER_FLAG_HASVIDEO | FLV_HEADER_FLAG_HASAUDIO; - av_log(s, AV_LOG_WARNING, - "Broken FLV file, which says no streams present, " - "this might fail.\n"); - } s->ctx_flags |= AVFMTCTX_NOHEADER;