Package: libavcodec-dev
Version: 4:0.7~b1-1
Hi,
idjc fails to build for me:
| gcc -DHAVE_CONFIG_H -I. -I.. -Wall -std=gnu99 -O2 -I/usr/include/FLAC
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -c -o
idjcmixer-avcodecdecode.o `test -f 'avcodecdecode.c' || echo
'./'`avcodecdecode.c
| avcodecdecode.c: In function ‘avcodecdecode_reg’:
| avcodecdecode.c:235:33: error: ‘CODEC_TYPE_AUDIO’ undeclared (first use in
this function)
| avcodecdecode.c:235:33: note: each undeclared identifier is reported only
once for each function it appears in
| make[4]: *** [idjcmixer-avcodecdecode.o] Error 1
| make[4]: Leaving directory `/tmp/idjc/c'
Presumably this is due to a small planned API change, based on
libavcodec/avcodec.h:
| #if LIBAVCODEC_VERSION_MAJOR < 53
| #define CodecType AVMediaType
|
| #define CODEC_TYPE_UNKNOWN AVMEDIA_TYPE_UNKNOWN
| #define CODEC_TYPE_VIDEO AVMEDIA_TYPE_VIDEO
| #define CODEC_TYPE_AUDIO AVMEDIA_TYPE_AUDIO
[...]
Please consider documenting this in the changelog or NEWS.Debian, with
a few words of advice for callers (probably that they should use
s/CODEC_/AVMEDIA_/ and the latter name has worked since version x.y.z
for some x, y, and z, I suppose).
Thanks for keeping the ffmpeg libs working nicely.
Regards,
Jonathan
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]