lavf: add supported extension to avi and mov demuxers
authorMarc-Antoine Arnaud <arnaud.marcantoine@gmail.com>
Tue, 1 Apr 2014 17:07:50 +0000 (17:07 +0000)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Tue, 1 Apr 2014 22:27:53 +0000 (00:27 +0200)
libavformat/avidec.c
libavformat/mov.c

index f48c441..a2c230c 100644 (file)
@@ -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,
index afd3fc6..2900b1e 100644 (file)
@@ -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,