Bug#483960: libavcodec51: Doesn't provide img_convert symbol.

Kurt Roeckx kurt at roeckx.be
Sun Jun 1 13:47:30 UTC 2008


Package: libavcodec51
Version: 0.svn20080206-7
Severity: important

Hi,

In /usr/include/ffmpeg/avcodec.h there is an:
#if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)
/**
 * convert among pixel formats
 * @deprecated Use the software scaler (swscale) instead.
 */
attribute_deprecated int img_convert(AVPicture *dst, int dst_pix_fmt,
                const AVPicture *src, int pix_fmt,
                int width, int height);
#endif


When building libavg I get:
../../../src/video/FFMpegDecoder.cpp:414: warning: 'img_convert' is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2463)
../../../src/video/FFMpegDecoder.cpp:416: warning: 'img_convert' is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2463)
[...]
./.libs/libvideo.a(FFMpegDecoder.o): In function `avg::FFMpegDecoder::convertFrameToBmp(AVFrame&, boost::shared_ptr<avg::Bitmap>)':
/build/buildd/libavg-0.7.0/build2.5/src/video/../../../src/video/FFMpegDecoder.cpp:416: undefined reference to `img_convert'
collect2: ld returned 1 exit status

So you stil have it in your header file, but the library is not
providing that symbol.

If you think nothing should be using that symbol, please remove it from
the header file and file bugs against the packages that still use it.


Kurt






More information about the pkg-multimedia-maintainers mailing list