[Ffmpeg-devel] xvid_rc.c doesn't compile

The Wanderer inverseparadox
Thu Mar 30 16:57:36 CEST 2006

Han Boetes wrote:

> Hi,
> On GNU/Linux I get the following message for quite some time
> now. Time to report it.
> gcc -O3 -g -Wall -Wno-switch -O2 -pipe -fstack-protector -Wdeclaration-after-statement -DHAVE_AV_CONFIG_H -I.. -I/mega/pkgmk/work/ffmpeg/src/ffmpeg/libavutil -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE    -c -o xvid_rc.o xvid_rc.c
> xvid_rc.c: In function `ff_xvid_rate_control_init':
> xvid_rc.c:68: error: structure has no member named `vbv_size'
> xvid_rc.c:69: error: structure has no member named `vbv_maxrate'
> xvid_rc.c:70: error: structure has no member named `vbv_initial'
> make[1]: *** [xvid_rc.o] Error 1
> make[1]: Leaving directory `/mega/pkgmk/work/ffmpeg/src/ffmpeg/libavcodec'

What this means is that either your copy of the XviD library is out of
date, or you have an old copy of xvid.h lying around somewhere on your
system. I don't know exactly when the XviD API was changed to include
those members, but they are definitely present in current XviD CVS.

       The Wanderer

Warning: Simply because I argue an issue does not mean I agree with any
side of it.

Secrecy is the beginning of tyranny.

More information about the ffmpeg-devel mailing list