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

 
 

bug #38333: build fails with libav-9

Submitted by:  Alexis Ballier <aballier>
Submitted on:  Thu 14 Feb 2013 07:40:29 PM UTC  
 
Category: buildSeverity: 3 - Normal
Release: masterStatus: Fixed
Privacy: PublicAssigned to: Sandro Santilli <strk>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 15 Feb 2013 09:54:50 AM UTC, comment #2:

maverick i happy:
http://gnashdev.org:8010/builders/maverick-linux-i386/builds/443

Sandro Santilli <strk>
Project MemberIn charge of this item.
Fri 15 Feb 2013 09:27:16 AM UTC, comment #1:

Pushed as dfba5258dc230669a7e1ad309e25ef190c77e854 and 80989fcd47d33e30336785422ded17f4c607a113 keep going ! :)

Sandro Santilli <strk>
Project MemberIn charge of this item.
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 File(s):
   
   
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
  • -unavailable- added by strk (Posted a comment)
  • -unavailable- added by aballier (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 15 Feb 2013 09:54:50 AM UTCstrkStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Fri 15 Feb 2013 09:27:16 AM UTCstrkCategoryNone=>build
      StatusNone=>Ready For Test
      Assigned toNone=>strk
    Thu 14 Feb 2013 08:23:18 PM UTCaballierAttached File-=>Added 0002-Use-av_get_bytes_per_sample-in-SampleFormatToSampleS.patch, #27465
    Thu 14 Feb 2013 08:10:20 PM UTCaballierAttached File-=>Added 0001-Fix-build-with-libav-9.patch, #27464

    Back to the top


    Powered by Savane 3.1-cleanup1