excess deprecation warnings

Bug #122266 reported by Benjamin Otte (Company)
2
Affects Status Importance Assigned to Milestone
ffmpeg (Ubuntu)
Fix Released
Low
Reinhard Tartler

Bug Description

This is with gutsy's ffmpeg packages.

When including avcodec.h, these warnings always get issued:
/usr/include/ffmpeg/avcodec.h:2447: warning: 'ImgReSampleContext' is deprecated
/usr/include/ffmpeg/avcodec.h:2450: warning: 'ImgReSampleContext' is deprecated
This breaks compiles with -Werror.

A simple fix (that I've applied locally) would be to s/ImgReSampleContext/void/

Related branches

Changed in ffmpeg:
assignee: nobody → mario-danic
status: New → Confirmed
Revision history for this message
Mario Đanić (mario-danic) wrote :

Attaching fix in the form of debdiff.

Changed in ffmpeg:
assignee: mario-danic → nobody
Revision history for this message
Daniel Holbach (dholbach) wrote :

Reinhard: can you take a look at the patch?

Changed in ffmpeg:
assignee: nobody → siretart
Revision history for this message
Reinhard Tartler (siretart) wrote :

I'm not convinced about this patch. It undeprecates a symbol which has been removed in a later upstream version.
AIUI the point of this is to allow programs to compile with -Werror.

since our ffmpeg version is already quite old, I'd really rather like to upgrade to a more recent ffmpeg version. This will fix a lot of other issues as well.

Changed in ffmpeg:
importance: Undecided → Low
status: Confirmed → Triaged
Revision history for this message
Daniel Holbach (dholbach) wrote :

Bumping back to Incomplete.

Changed in ffmpeg:
status: Triaged → Incomplete
Revision history for this message
Daniel Holbach (dholbach) wrote :

Reinhard: will you work on getting that into gutsy?

Unsubscribing ubuntu-main-sponsors for now.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ffmpeg - 3:0.cvs20070307-5ubuntu6

---------------
ffmpeg (3:0.cvs20070307-5ubuntu6) hardy; urgency=low

  * Implemented 061_fix_resample_warnings.diff
      Fixes LP: #122266
  * debian/control:
    - set MOTU as maintainer
    - set XSBC-Original-Maintainer: Debian multimedia packages maintainers

 -- Mario Danic <email address hidden> Mon, 06 Aug 2007 16:19:27 +0200

Changed in ffmpeg:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.