[FFmpeg-devel] [PATCH]Add a closing CRLF to Webm-manifest files

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Sep 12 00:58:30 CEST 2014


Attached patch fixes fate-webm-dash-manifest on aix.
I cannot reproduce the problem on other systems and I 
don't know if the patch is correct.

Please comment, Carl Eugen
-------------- next part --------------
diff --git a/libavformat/webmdashenc.c b/libavformat/webmdashenc.c
index 77f6170..849b241 100644
--- a/libavformat/webmdashenc.c
+++ b/libavformat/webmdashenc.c
@@ -95,7 +95,7 @@ static void write_header(AVFormatContext *s)
 static void write_footer(AVFormatContext *s)
-    avio_printf(s->pb, "</MPD>");
+    avio_printf(s->pb, "</MPD>\n");
 static int subsegment_alignment(AVFormatContext *s, AdaptationSet *as) {

More information about the ffmpeg-devel mailing list