lavf/segment: set EXT-X-VERSION to 3 rather than to 4

There is nothing we use of the latest version, downgrade version number
to increase decoding support.

Based on this comment by vel2000:
http://ffmpeg.org/trac/ffmpeg/ticket/1642#comment:17
This commit is contained in:
Stefano Sabatini 2012-09-01 17:13:26 +02:00
parent 34bf06a35c
commit f7eec8956d

View File

@ -127,7 +127,7 @@ static int segment_list_open(AVFormatContext *s)
if (seg->list_type == LIST_TYPE_M3U8) {
avio_printf(seg->list_pb, "#EXTM3U\n");
avio_printf(seg->list_pb, "#EXT-X-VERSION:4\n");
avio_printf(seg->list_pb, "#EXT-X-VERSION:3\n");
}
return ret;