Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 540448 - www-plugins/gnash-0.8.10_p20131019 - ffmpeg/AudioDecoderFfmpeg.cpp:92:24: error: ‘CODEC_ID_PCM_U16LE’ was not declared in this scope
Summary: www-plugins/gnash-0.8.10_p20131019 - ffmpeg/AudioDecoderFfmpeg.cpp:92:24: err...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Chí-Thanh Christopher Nguyễn
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-18 09:15 UTC by Geoff Madden
Modified: 2015-03-26 15:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge info (emerge.inf,5.04 KB, text/plain)
2015-02-18 09:16 UTC, Geoff Madden
Details
build.log (build.log,84.28 KB, text/plain)
2015-02-18 09:17 UTC, Geoff Madden
Details
environment file (environment,190.23 KB, text/plain)
2015-02-18 09:17 UTC, Geoff Madden
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Geoff Madden 2015-02-18 09:15:45 UTC
ffmpeg/AudioDecoderFfmpeg.cpp: In member function ‘void gnash::media::ffmpeg::AudioDecoderFfmpeg::setup(gnash::media::SoundInfo&)’:
ffmpeg/AudioDecoderFfmpeg.cpp:92:24: error: ‘CODEC_ID_PCM_U16LE’ was not declared in this scope
             codec_id = CODEC_ID_PCM_U16LE;
                        ^
ffmpeg/AudioDecoderFfmpeg.cpp:95:24: error: ‘CODEC_ID_ADPCM_SWF’ was not declared in this scope
             codec_id = CODEC_ID_ADPCM_SWF;
                        ^
ffmpeg/AudioDecoderFfmpeg.cpp:98:24: error: ‘CODEC_ID_MP3’ was not declared in this scope
             codec_id = CODEC_ID_MP3;
                        ^
ffmpeg/AudioDecoderFfmpeg.cpp:102:24: error: ‘CODEC_ID_AAC’ was not declared in this scope
             codec_id = CODEC_ID_AAC;
                        ^
ffmpeg/AudioDecoderFfmpeg.cpp:160:18: error: ‘CODEC_ID_MP3’ was not declared in this scope
             case CODEC_ID_MP3:
                  ^
ffmpeg/AudioDecoderFfmpeg.cpp:163:18: error: ‘CODEC_ID_PCM_U16LE’ was not declared in this scope
             case CODEC_ID_PCM_U16LE:
                  ^
ffmpeg/AudioDecoderFfmpeg.cpp: In member function ‘void gnash::media::ffmpeg::AudioDecoderFfmpeg::setup(const gnash::media::AudioInfo&)’:
ffmpeg/AudioDecoderFfmpeg.cpp:187:29: error: ‘CODEC_ID_NONE’ was not declared in this scope
     enum CODECID codec_id = CODEC_ID_NONE;
                             ^
ffmpeg/AudioDecoderFfmpeg.cpp:201:32: error: ‘CODEC_ID_PCM_S16LE’ was not declared in this scope
                     codec_id = CODEC_ID_PCM_S16LE;
                                ^
ffmpeg/AudioDecoderFfmpeg.cpp:203:32: error: ‘CODEC_ID_PCM_S8’ was not declared in this scope
                     codec_id = CODEC_ID_PCM_S8;
                                ^
ffmpeg/AudioDecoderFfmpeg.cpp:208:28: error: ‘CODEC_ID_ADPCM_SWF’ was not declared in this scope
                 codec_id = CODEC_ID_ADPCM_SWF;
                            ^
ffmpeg/AudioDecoderFfmpeg.cpp:212:28: error: ‘CODEC_ID_MP3’ was not declared in this scope
                 codec_id = CODEC_ID_MP3;
                            ^
ffmpeg/AudioDecoderFfmpeg.cpp:216:28: error: ‘CODEC_ID_AAC’ was not declared in this scope
                 codec_id = CODEC_ID_AAC;
                            ^
ffmpeg/AudioDecoderFfmpeg.cpp:295:18: error: ‘CODEC_ID_MP3’ was not declared in this scope
             case CODEC_ID_MP3:
                  ^
ffmpeg/AudioDecoderFfmpeg.cpp:298:18: error: ‘CODEC_ID_PCM_S8’ was not declared in this scope
             case CODEC_ID_PCM_S8:
                  ^
ffmpeg/AudioDecoderFfmpeg.cpp:303:18: error: ‘CODEC_ID_PCM_S16LE’ was not declared in this scope
             case CODEC_ID_PCM_S16LE:
                  ^
ffmpeg/AudioDecoderFfmpeg.cpp: In member function ‘uint8_t* gnash::media::ffmpeg::AudioDecoderFfmpeg::decodeFrame(const uint8_t*, uint32_t, uint32_t&)’:
ffmpeg/AudioDecoderFfmpeg.cpp:524:30: warning: ‘AVFrame* avcodec_alloc_frame()’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3195) [-Wdeprecated-declarations]
     ScopedPtr<AVFrame> frm ( avcodec_alloc_frame(), av_free );
                              ^
ffmpeg/AudioDecoderFfmpeg.cpp:524:50: warning: ‘AVFrame* avcodec_alloc_frame()’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3195) [-Wdeprecated-declarations]
     ScopedPtr<AVFrame> frm ( avcodec_alloc_frame(), av_free );
                                                  ^
Makefile:1137: recipe for target 'libgnashmedia_la-AudioDecoderFfmpeg.lo' failed
make[2]: *** [libgnashmedia_la-AudioDecoderFfmpeg.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/www-plugins/gnash-0.8.10_p20131019/work/gnash-0.8.10_p20131019/libmedia'
Makefile:1154: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/www-plugins/gnash-0.8.10_p20131019/work/gnash-0.8.10_p20131019'
Makefile:1062: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: www-plugins/gnash-0.8.10_p20131019::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=www-plugins/gnash-0.8.10_p20131019::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-plugins/gnash-0.8.10_p20131019::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/www-plugins/gnash-0.8.10_p20131019/temp/build.log'.
 * The

Reproducible: Always

Steps to Reproduce:
1.updating gnash (regular update)
2.gets to audiodecoder ffmpeg and falls over
3.
Actual Results:  
compilation stops

Expected Results:  
complete & install
Comment 1 Geoff Madden 2015-02-18 09:16:32 UTC
Created attachment 396798 [details]
emerge info
Comment 2 Geoff Madden 2015-02-18 09:17:03 UTC
Created attachment 396800 [details]
build.log
Comment 3 Geoff Madden 2015-02-18 09:17:36 UTC
Created attachment 396802 [details]
environment file
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2015-03-26 15:02:40 UTC
Should be fixed in 0.8.10_p20150316, please reopen if it is not.