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

Corey Hickey bugfood-ml
Thu Mar 30 19:13:39 CEST 2006

The Wanderer 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.

They were added to xvid before version 1.1, so 1.1 or current CVS should 
work fine.


More information about the ffmpeg-devel mailing list