[FFmpeg-devel] [PATCH 2/4] avformat/oggenc: use audio/ogg mimetype for ogg muxer
James Almer
jamrial at gmail.com
Thu Jul 7 02:25:25 EEST 2016
RFC 5334 states that the application/ogg mimetype must include an
Ogg Skeleton stream[1], something we don't currently support.
[1] https://tools.ietf.org/html/rfc5334#section-10.1
Signed-off-by: James Almer <jamrial at gmail.com>
---
libavformat/oggenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/oggenc.c b/libavformat/oggenc.c
index fe1f34d..fee4c7f 100644
--- a/libavformat/oggenc.c
+++ b/libavformat/oggenc.c
@@ -659,7 +659,7 @@ OGG_CLASS(ogg, Ogg)
AVOutputFormat ff_ogg_muxer = {
.name = "ogg",
.long_name = NULL_IF_CONFIG_SMALL("Ogg"),
- .mime_type = "application/ogg",
+ .mime_type = "audio/ogg",
.extensions = "ogg,ogv"
#if !CONFIG_SPX_MUXER
",spx"
--
2.9.0
More information about the ffmpeg-devel
mailing list