[FFmpeg-devel] [PATCH] lavf/segment: set EXT-X-VERSION to 3 rather than to 4

Stefano Sabatini stefasab at gmail.com
Sat Sep 1 18:06:13 CEST 2012


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 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/segment.c b/libavformat/segment.c
index e81e97a..b53afa9 100644
--- a/libavformat/segment.c
+++ b/libavformat/segment.c
@@ -151,7 +151,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;
-- 
1.7.5.4



More information about the ffmpeg-devel mailing list