Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

17 views
Skip to first unread message

Kurt Roeckx

unread,
Jun 1, 2008, 10:00:16 AM6/1/08
to
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


--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Kurt Roeckx

unread,
Jun 1, 2008, 1:00:17 PM6/1/08
to
I know about 4 package that have a problem with it:
- libavg 0.7.0-6
- smilutils 0.3.2+cvs20070731-4
- blender 2.45-5
- opencv 1.0.0-4

Kurt Roeckx

unread,
Jun 2, 2008, 1:00:13 PM6/2/08
to
On Sun, Jun 01, 2008 at 06:50:19PM +0200, Kurt Roeckx wrote:
> I know about 4 package that have a problem with it:
> - libavg 0.7.0-6

Doesn't seem to be filed yet.

> - smilutils 0.3.2+cvs20070731-4

That's #482811 / #483344

> - blender 2.45-5

That's #482768 / #483335

> - opencv 1.0.0-4

The warning is in #482217, doesn't have a separate bug.

There is also
openmovieeditor 0.0.20080102-2.1 (#482770 / #483332)

0 new messages