[FFmpeg-devel] [FFmpeg-cvslog] r23303 - in trunk: Changelog configure doc/general.texi libavcodec/Makefile libavcodec/allcodecs.c libavcodec/avcodec.h libavcodec/libvpxdec.c

Ronald S. Bultje rsbultje
Wed May 26 18:59:18 CEST 2010


Hi,

On Mon, May 24, 2010 at 9:19 PM, cehoyos <subversion at mplayerhq.hu> wrote:
> Author: cehoyos
> Date: Tue May 25 03:19:08 2010
> New Revision: 23303
>
> Log:
> VP8 decoding via libvpx.

[to: ffmpeg-devel]

CC	libavcodec/libvpxdec.o
In file included from /usr/include/inttypes.h:255,
                 from ./libavutil/common.h:31,
                 from ./libavutil/avutil.h:81,
                 from libavcodec/avcodec.h:30,
                 from libavcodec/libvpxdec.c:30:
/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stdint.h:89: error:
conflicting types for ?uintptr_t?
/opt/local/include/vpx/vpx_integer.h:47: error: previous declaration
of ?uintptr_t? was here
libavcodec/libvpxdec.c:33: error: field ?decoder? has incomplete type
libavcodec/libvpxdec.c: In function ?vp8_decode?:
libavcodec/libvpxdec.c:79: warning: assignment from incompatible pointer type
libavcodec/libvpxdec.c:80: error: dereferencing pointer to incomplete type
libavcodec/libvpxdec.c:80: error: ?VPX_IMG_FMT_I420? undeclared (first
use in this function)
libavcodec/libvpxdec.c:80: error: (Each undeclared identifier is
reported only once
libavcodec/libvpxdec.c:80: error: for each function it appears in.)
libavcodec/libvpxdec.c:82: error: dereferencing pointer to incomplete type
libavcodec/libvpxdec.c:86: error: dereferencing pointer to incomplete type
libavcodec/libvpxdec.c:86: error: dereferencing pointer to incomplete type
libavcodec/libvpxdec.c:88: error: dereferencing pointer to incomplete type
libavcodec/libvpxdec.c:88: error: dereferencing pointer to incomplete type
libavcodec/libvpxdec.c:89: error: dereferencing pointer to incomplete type
libavcodec/libvpxdec.c:89: error: dereferencing pointer to incomplete type
libavcodec/libvpxdec.c:91: error: dereferencing pointer to incomplete type
libavcodec/libvpxdec.c:91: error: dereferencing pointer to incomplete type
libavcodec/libvpxdec.c:93: error: dereferencing pointer to incomplete type
libavcodec/libvpxdec.c:94: error: dereferencing pointer to incomplete type
libavcodec/libvpxdec.c:95: error: dereferencing pointer to incomplete type
libavcodec/libvpxdec.c:97: error: dereferencing pointer to incomplete type
libavcodec/libvpxdec.c:98: error: dereferencing pointer to incomplete type
libavcodec/libvpxdec.c:99: error: dereferencing pointer to incomplete type
gmake: *** [libavcodec/libvpxdec.o] Error 1

vpx appears to want us to define HAVE_STDINT_H and alike for each
header, and if not it overwrites it with its own definitions, see
vpx/vpx_integer.h:

#if defined(HAVE_STDINT_H) && HAVE_STDINT_H
#if defined(__cplusplus) && !defined(__STDC_FORMAT_MACROS)
#define __STDC_FORMAT_MACROS
#endif
#include <stdint.h>
#include <inttypes.h>
#else
typedef signed char  int8_t;
typedef signed short int16_t;
typedef signed int   int32_t;
[..]

Ronald



More information about the ffmpeg-devel mailing list