[FFmpeg-user] expected expression before ‘AlsaData’ during ffmpeg compile
Carl Eugen Hoyos
cehoyos at ag.or.at
Mon Jan 30 10:33:58 CET 2012
Carl Vondrick <vondrick <at> MIT.EDU> writes:
> CC libavdevice/alsa-audio-dec.o
> libavdevice/alsa-audio-dec.c:135: warning: implicit declaration of
> function ‘offsetof’
This is a C library feature, Wikipedia says it is defined in stddef.h (which is
included by alsa-audio-dec.c through avformat.h, avutil.h, common.h,
libavutil/internal.h).
You can of course try to add #include <stddef.h> to the top of alsa-audio-dec.c
Normally, when reporting compilation issues, please run make (it fails), run
make again, then run "make V=1" and post the complete, uncut output of the last
command. That would have told us if -DHAVE_AV_CONFIG_H was added to your
compilation flags.
Carl Eugen
More information about the ffmpeg-user
mailing list