[FFmpeg-cvslog] lavf: add supported extension to avi and mov demuxers

Marc-Antoine Arnaud git at videolan.org
Wed Apr 2 03:23:23 CEST 2014


ffmpeg | branch: master | Marc-Antoine Arnaud <arnaud.marcantoine at gmail.com> | Tue Apr  1 17:07:50 2014 +0000| [f1c4a54f6ecbf77a29aaaee09ca70c5468d0c509] | committer: Vittorio Giovara

lavf: add supported extension to avi and mov demuxers

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f1c4a54f6ecbf77a29aaaee09ca70c5468d0c509
---

 libavformat/avidec.c |    1 +
 libavformat/mov.c    |    1 +
 2 files changed, 2 insertions(+)

diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index f48c441..a2c230c 100644
--- a/libavformat/avidec.c
+++ b/libavformat/avidec.c
@@ -1525,6 +1525,7 @@ AVInputFormat ff_avi_demuxer = {
     .name           = "avi",
     .long_name      = NULL_IF_CONFIG_SMALL("AVI (Audio Video Interleaved)"),
     .priv_data_size = sizeof(AVIContext),
+    .extensions     = "avi",
     .read_probe     = avi_probe,
     .read_header    = avi_read_header,
     .read_packet    = avi_read_packet,
diff --git a/libavformat/mov.c b/libavformat/mov.c
index afd3fc6..2900b1e 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -3137,6 +3137,7 @@ AVInputFormat ff_mov_demuxer = {
     .name           = "mov,mp4,m4a,3gp,3g2,mj2",
     .long_name      = NULL_IF_CONFIG_SMALL("QuickTime / MOV"),
     .priv_data_size = sizeof(MOVContext),
+    .extensions     = "mov,mp4,m4a,3gp,3g2,mj2",
     .read_probe     = mov_probe,
     .read_header    = mov_read_header,
     .read_packet    = mov_read_packet,



More information about the ffmpeg-cvslog mailing list