Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 261477 Details for
Bug 347481
dev-games/openscenegraph-2.8.3 fails to compile due to ‘AVSampleFormat’ in class ‘osg::AudioStream’ does not name a type
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
#define FF_API_OLD_SAMPLE_FMT 0
gentoo347481b.patch (text/plain), 1.12 KB, created by
Martin von Gagern
on 2011-02-04 09:05:13 UTC
(
hide
)
Description:
#define FF_API_OLD_SAMPLE_FMT 0
Filename:
MIME Type:
Creator:
Martin von Gagern
Created:
2011-02-04 09:05:13 UTC
Size:
1.12 KB
patch
obsolete
>Prevent avcodec.h from redefining SampleFormat. > >Without this patch, the SampleFormat token will be redefined to >AVSampleFormat even if it occurs in some other scope. One example is >osg::AudioStream::SampleFormat, which the preprocessor turns into >osg::AudioStream::AVSampleFormat, causing compiler errors like this: >error: âAVSampleFormatâ in class âosg::AudioStreamâ does not name a type > >Looking at the code in ffmpeg, this patch should become unnecessary >once LIBAVCODEC_VERSION_MAJOR turns 53. > >2011-02-04 Martin von Gagern > >References: >http://bugs.gentoo.org/347481 >http://git.ffmpeg.org/?p=ffmpeg.git;a=commitdiff;h=262d1c5d2206467809fd81d841d09ad70cc8ba13 > >Index: OpenSceneGraph-2.8.3/src/osgPlugins/ffmpeg/FFmpegHeaders.hpp >=================================================================== >--- OpenSceneGraph-2.8.3.orig/src/osgPlugins/ffmpeg/FFmpegHeaders.hpp >+++ OpenSceneGraph-2.8.3/src/osgPlugins/ffmpeg/FFmpegHeaders.hpp >@@ -6,6 +6,7 @@ > extern "C" > { > #define __STDC_CONSTANT_MACROS >+#define FF_API_OLD_SAMPLE_FMT 0 > #include <errno.h> // for error codes defined in avformat.h > #include <stdint.h> > #include <avcodec.h>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 347481
:
256069
|
257353
| 261477 |
262451