Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 492336 - =www-plugins/lightspark-0.7.2-r1 fails to build with =media-video/ffmpeg-2.1.1 - src/backends/decoder.h:31:30: error: ‘AVCODEC_MAX_AUDIO_FRAME_SIZE’ was not declared in this scope
Summary: =www-plugins/lightspark-0.7.2-r1 fails to build with =media-video/ffmpeg-2.1....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chí-Thanh Christopher Nguyễn
URL: https://github.com/lightspark/lightsp...
Whiteboard:
Keywords:
Depends on:
Blocks: ffmpeg-2.0
  Show dependency tree
 
Reported: 2013-11-23 01:44 UTC by Dennis Schridde
Modified: 2013-11-23 13:53 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,30.71 KB, text/x-log)
2013-11-23 01:45 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2013-11-23 01:44:44 UTC
When trying to build www-plugins/lightspark-0.7.2-r1 with media-video/ffmpeg-2.1.1, I get errors similar to:
In file included from /var/tmp/portage/www-plugins/lightspark-0.7.2-r1/work/lightspark-0.7.2/src/scripting/flash/net/flashnet.h:29:0,
                 from /var/tmp/portage/www-plugins/lightspark-0.7.2-r1/work/lightspark-0.7.2/src/swf.h:32,
                 from /var/tmp/portage/www-plugins/lightspark-0.7.2-r1/work/lightspark-0.7.2/src/memory_support.cpp:21:
/var/tmp/portage/www-plugins/lightspark-0.7.2-r1/work/lightspark-0.7.2/src/backends/decoder.h:31:30: error: ‘AVCODEC_MAX_AUDIO_FRAME_SIZE’ was not declared in this scope
 #define MAX_AUDIO_FRAME_SIZE AVCODEC_MAX_AUDIO_FRAME_SIZE
                              ^
/var/tmp/portage/www-plugins/lightspark-0.7.2-r1/work/lightspark-0.7.2/src/backends/decoder.h:201:19: note: in expansion of macro ‘MAX_AUDIO_FRAME_SIZE’
   int16_t samples[MAX_AUDIO_FRAME_SIZE/2];
                   ^


Reproducible: Always
Comment 1 Dennis Schridde 2013-11-23 01:45:06 UTC
Created attachment 363810 [details]
build.log
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-11-23 13:33:53 UTC
Supposedly this is fixed by
https://github.com/lightspark/lightspark/commit/fff7e63650c1569908bf80f11a123e051e993f31

Maybe someone could ask upstream to make a new release.
Comment 3 Dennis Schridde 2013-11-23 13:49:30 UTC
(In reply to Chí-Thanh Christopher Nguyễn from comment #2)
> Maybe someone could ask upstream to make a new release.

https://github.com/lightspark/lightspark/issues/235
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-11-23 13:53:06 UTC
+  23 Nov 2013; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  +files/lightspark-0.7.2-ffmpeg20.patch, lightspark-0.7.2-r1.ebuild:
+  Add ffmpeg-2 support, bug #492336.