Remove newly unused variables.
[ffmpeg.git] / libavdevice / alldevices.c
index f97dc73d916c8152b51f0891a3646f9ab41fe952..6dfd350264b9ab719747d2eb976fc5661af99d60 100644 (file)
@@ -17,8 +17,9 @@
  * License along with FFmpeg; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
  * License along with FFmpeg; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
-#include "avformat.h"
-#include "avdevice.h"
+
+#include "config.h"
+#include "libavformat/avformat.h"
 
 #define REGISTER_MUXER(X,x) { \
           extern AVOutputFormat x##_muxer; \
 
 #define REGISTER_MUXER(X,x) { \
           extern AVOutputFormat x##_muxer; \
 
 void avdevice_register_all(void)
 {
 
 void avdevice_register_all(void)
 {
-    static int inited;
+    static int initialized;
 
 
-    if (inited)
+    if (initialized)
         return;
         return;
-    inited = 1;
+    initialized = 1;
 
     /* devices */
     REGISTER_MUXDEMUX (AUDIO_BEOS, audio_beos);
 
     /* devices */
     REGISTER_MUXDEMUX (AUDIO_BEOS, audio_beos);
@@ -43,6 +44,7 @@ void avdevice_register_all(void)
     REGISTER_MUXDEMUX (OSS, oss);
     REGISTER_DEMUXER  (V4L2, v4l2);
     REGISTER_DEMUXER  (V4L, v4l);
     REGISTER_MUXDEMUX (OSS, oss);
     REGISTER_DEMUXER  (V4L2, v4l2);
     REGISTER_DEMUXER  (V4L, v4l);
+    REGISTER_DEMUXER  (VFWCAP, vfwcap);
     REGISTER_DEMUXER  (X11_GRAB_DEVICE, x11_grab_device);
 
     /* external libraries */
     REGISTER_DEMUXER  (X11_GRAB_DEVICE, x11_grab_device);
 
     /* external libraries */