v4l: fix compilation
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 24 Jan 2012 23:12:22 +0000 (00:12 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 24 Jan 2012 23:13:35 +0000 (00:13 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavdevice/v4l.c

index 4b0e719..2d26072 100644 (file)
@@ -21,8 +21,6 @@
 
 #include "avdevice.h"
 
-#if FF_API_V4L
-
 #undef __STRICT_ANSI__ //workaround due to broken kernel headers
 #include "config.h"
 #include "libavutil/rational.h"
@@ -363,4 +361,3 @@ AVInputFormat ff_v4l_demuxer = {
     .flags          = AVFMT_NOFILE,
     .priv_class     = &v4l_class,
 };
-#endif  /* FF_API_V4L */