[FFmpeg-devel] [PATCH]lavf/mpegts: Add extension "m2t"

Carl Eugen Hoyos cehoyos at ag.or.at
Sun Apr 10 06:39:08 CEST 2016


Hi!

Attached patch fixes ticket #4862 for me.

Please comment, Carl Eugen
-------------- next part --------------
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index e44da1f..90aa79f 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -2839,6 +2839,7 @@ AVInputFormat ff_mpegts_demuxer = {
     .name           = "mpegts",
     .long_name      = NULL_IF_CONFIG_SMALL("MPEG-TS (MPEG-2 Transport Stream)"),
     .priv_data_size = sizeof(MpegTSContext),
+    .extensions     = "m2t",
     .read_probe     = mpegts_probe,
     .read_header    = mpegts_read_header,
     .read_packet    = mpegts_read_packet,


More information about the ffmpeg-devel mailing list