[FFmpeg-cvslog] r14852 - in trunk/libavdevice: v4l.c v4l2.c
Måns Rullgård
mans
Tue Aug 19 23:49:30 CEST 2008
michael <subversion at mplayerhq.hu> writes:
> Author: michael
> Date: Tue Aug 19 23:20:39 2008
> New Revision: 14852
>
> Log:
> Workaround bug in types.h that has typedef __u64 under #ifndef __STRICT_ANSI__.
>
> Modified:
> trunk/libavdevice/v4l.c
> trunk/libavdevice/v4l2.c
>
> Modified: trunk/libavdevice/v4l.c
> ==============================================================================
> --- trunk/libavdevice/v4l.c (original)
> +++ trunk/libavdevice/v4l.c Tue Aug 19 23:20:39 2008
> @@ -19,6 +19,7 @@
> * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
> */
>
> +#undef __STRICT_ANSI__ //workaround due to broken kernel headers
> #include "config.h"
> #include "libavformat/avformat.h"
> #include "libavcodec/dsputil.h"
>
> Modified: trunk/libavdevice/v4l2.c
> ==============================================================================
> --- trunk/libavdevice/v4l2.c (original)
> +++ trunk/libavdevice/v4l2.c Tue Aug 19 23:20:39 2008
> @@ -27,6 +27,7 @@
> * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
> */
>
> +#undef __STRICT_ANSI__ //workaround due to broken kernel headers
> #include "config.h"
> #include "libavformat/avformat.h"
> #include <unistd.h>
Why did you do this? This is the kind of thing that should be
discussed before being committed.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-cvslog
mailing list