[FFmpeg-devel] [PATCH] fix for latest libvpx

Ferenc Deak ferenc.deak
Thu Jun 10 14:16:54 CEST 2010


Hi,

I wanted to compile ffmpeg with libvpx (0.9.0 - from 
http://webm.googlecode.com/files/libvpx-0.9.0.tar.bz2) support and I 
have got the following errors in the make phase (I have got several 
errors in the configure phase too, but those were fixed by patching 
libvpx, not really related here):

libavcodec/libvpxdec.c:33: error: field ?decoder? has incomplete type
libavcodec/libvpxdec.c: In function ?vp8_decode?:
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

Seems that some changes were done on the VPX side, which were not 
reflected in the ffmpeg source, so please find attached a patch for the 
libavcodec/libvpxenc.c and libavcodec/libvpxdec.c which makes 
compilation possible.

Regards,
frc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: submission.diff
Type: text/x-patch
Size: 3150 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100610/96ddca0c/attachment.bin>



More information about the ffmpeg-devel mailing list