]> git.sesse.net Git - ffmpeg/commitdiff
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 4b0e7198d6ff159c96c34b863970cbce203b81ac..2d260726bfd2b8276137ae9209f5ca6d70af7ede 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 */