#56 More avcodecdecode.c Issues

v1.0 (example)
open-fixed
None
5
2013-09-18
2013-05-24
Chris Pitt
No

It appears another FFMPEG Avcodec lib macro has been deprecated/removed:

avcodecdecode.c:88:45: error: 'AVCODEC_MAX_AUDIO_FRAME_SIZE' undeclared (first use in this function)
avcodecdecode.c:328:39: error: 'AVCODEC_MAX_AUDIO_FRAME_SIZE' undeclared (first use in this function)

Seems the recommendation right now is to replace AVCODEC_MAX_AUDIO_FRAME_SIZE with 192000, this does allow gcc to continue.

Revision: e9dab753a7febf9129c0c6807ef6dfeda77e9b5e

Discussion

    • status: open --> open-fixed
    • assigned_to: Stephen Fairchild
    • Group: --> v1.0 (example)
     
  • The decoder has been rewritten based on the example audio decoder code of ffmpeg 1.2. In git only for the time being this code uses the downmix and resample capabilities of libavfilter. The dependency on libavutil has been dropped.

    Guessing it's only a matter of time before they mess with the API again. Sigh.