changeset 2716:570c003fe0ed libavformat

Move external library registrations into a separate block after all native implementations so that the latter ones are preferred by default.
author diego
date Wed, 07 Nov 2007 22:04:00 +0000
parents c15be6c85ab4
children 4cfddd2c98a5
files allformats.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/allformats.c	Wed Nov 07 22:02:02 2007 +0000
+++ b/allformats.c	Wed Nov 07 22:04:00 2007 +0000
@@ -92,8 +92,6 @@
     REGISTER_MUXDEMUX (IMAGE2PIPE, image2pipe);
     REGISTER_DEMUXER  (INGENIENT, ingenient);
     REGISTER_DEMUXER  (IPMOVIE, ipmovie);
-    REGISTER_DEMUXER  (LIBDC1394, libdc1394);
-    REGISTER_MUXDEMUX (LIBNUT, libnut);
     REGISTER_MUXDEMUX (M4V, m4v);
     REGISTER_MUXDEMUX (MATROSKA, matroska);
     REGISTER_MUXER    (MATROSKA_AUDIO, matroska_audio);
@@ -171,6 +169,10 @@
     REGISTER_DEMUXER  (X11_GRAB_DEVICE, x11_grab_device);
     REGISTER_MUXDEMUX (YUV4MPEGPIPE, yuv4mpegpipe);
 
+    /* external libraries */
+    REGISTER_DEMUXER  (LIBDC1394, libdc1394);
+    REGISTER_MUXDEMUX (LIBNUT, libnut);
+
     /* protocols */
     REGISTER_PROTOCOL (FILE, file);
     REGISTER_PROTOCOL (HTTP, http);