bugGnash - The GNU Flash player - Bugs: bug #38333, build fails with libav-9

 
 

bug #38333: build fails with libav-9

Submitter:  Alexis Ballier <aballier>
Submitted:  Thu 14 Feb 2013 07:40:29 PM UTC
   
 
Category:  build Severity:  3 - Normal
Release:  master Status:  Fixed
Privacy:  Public Assigned to:  strk
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 15 Feb 2013 09:54:50 AM UTC, comment #2: 
Sandro Santilli <strk>
Group Member
Fri 15 Feb 2013 09:27:16 AM UTC, comment #1: 

Pushed as dfba5258dc230669a7e1ad309e25ef190c77e854 and 80989fcd47d33e30336785422ded17f4c607a113 keep going ! :)

Sandro Santilli <strk>
Group Member
Thu 14 Feb 2013 07:40:29 PM UTC, original submission:  

  CXX      libgnashmedia_la-AudioDecoderFfmpeg.lo
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
ffmpeg/AudioDecoderFfmpeg.cpp:1:0: note: this is the location of the previous definition
ffmpeg/AudioDecoderFfmpeg.cpp: In member function 'void gnash::media::ffmpeg::AudioDecoderFfmpeg::setup(gnash::media::SoundInfo&)':
ffmpeg/AudioDecoderFfmpeg.cpp:136:44: error: 'avcodec_alloc_context' was not declared in this scope
ffmpeg/AudioDecoderFfmpeg.cpp:141:55: error: 'avcodec_open' was not declared in this scope
ffmpeg/AudioDecoderFfmpeg.cpp: In member function 'void gnash::media::ffmpeg::AudioDecoderFfmpeg::setup(const gnash::media::AudioInfo&)':
ffmpeg/AudioDecoderFfmpeg.cpp:262:44: error: 'avcodec_alloc_context' was not declared in this scope
ffmpeg/AudioDecoderFfmpeg.cpp:313:55: error: 'avcodec_open' was not declared in this scope
ffmpeg/AudioDecoderFfmpeg.cpp: In member function 'uint8_t* gnash::media::ffmpeg::AudioDecoderFfmpeg::decodeFrame(const uint8_t*, uint32_t, uint32_t&)':
ffmpeg/AudioDecoderFfmpeg.cpp:516:27: warning: cast from type 'const uint8_t* {aka const unsigned char*}' to type 'uint8_t* {aka unsigned char*}' casts away qualifiers [-Wcast-qual]
ffmpeg/AudioDecoderFfmpeg.cpp:519:15: warning: 'int avcodec_decode_audio3(AVCodecContext*, int16_t*, int*, AVPacket*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3608) [-Wdeprecated-declarations]
ffmpeg/AudioDecoderFfmpeg.cpp:521:40: warning: 'int avcodec_decode_audio3(AVCodecContext*, int16_t*, int*, AVPacket*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3608) [-Wdeprecated-declarations]


(It is the version available in debian experimental if you want to try)
I will attach a patch soon

Alexis Ballier <aballier>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #27465:  0002-Use-av_get_bytes_per_sample-in-SampleFormatToSampleS.patch added by aballier (1KiB - text/x-patch - Not strictly related to this patch, but ffmpeg or libav git master added some more AV_SAMPLE_FMT so this function was incomplete, use the provided API instead of a homemade function)
file #27464:  0001-Fix-build-with-libav-9.patch added by aballier (3KiB - text/x-patch - patch, should also fix some deprecation warnings with older versions)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by strk (Posted a comment)
  • -email is unavailable- added by aballier (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-02-15 strk StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2013-02-15 strk CategoryNone build
        StatusNone Ready For Test
        Assigned toNone strk
    2013-02-14 aballier Attached File- Added 0002-Use-av_get_bytes_per_sample-in-SampleFormatToSampleS.patch, #27465
    2013-02-14 aballier Attached File- Added 0001-Fix-build-with-libav-9.patch, #27464

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code