lavf/segment: set EXT-X-VERSION to 3 rather than to 4
authorStefano Sabatini <stefasab@gmail.com>
Sat, 1 Sep 2012 15:13:26 +0000 (17:13 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Sun, 2 Sep 2012 08:42:25 +0000 (10:42 +0200)
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

libavformat/segment.c

index e148dc0..1dda310 100644 (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;