Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 55209 Details for
Bug 87811
Patch for ffmpeg to compile with gcc4
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ffmpeg-gcc4-fix.patch
ffmpeg-gcc4-fix.patch (text/plain), 3.05 KB, created by
Genady Okrain
on 2005-04-03 10:14:37 UTC
(
hide
)
Description:
ffmpeg-gcc4-fix.patch
Filename:
MIME Type:
Creator:
Genady Okrain
Created:
2005-04-03 10:14:37 UTC
Size:
3.05 KB
patch
obsolete
>--- ffmpeg-0.4.9-p20050226.orig/libavcodec/avcodec.h >+++ ffmpeg-0.4.9-p20050226/libavcodec/avcodec.h >@@ -1784,37 +1784,7 @@ > /** > * AVOption. > */ >-typedef struct AVOption { >- /** options' name */ >- const char *name; /* if name is NULL, it indicates a link to next */ >- /** short English text help or const struct AVOption* subpointer */ >- const char *help; // const struct AVOption* sub; >- /** offset to context structure where the parsed value should be stored */ >- int offset; >- /** options' type */ >- int type; >-#define FF_OPT_TYPE_BOOL 1 ///< boolean - true,1,on (or simply presence) >-#define FF_OPT_TYPE_DOUBLE 2 ///< double >-#define FF_OPT_TYPE_INT 3 ///< integer >-#define FF_OPT_TYPE_STRING 4 ///< string (finished with \0) >-#define FF_OPT_TYPE_MASK 0x1f ///< mask for types - upper bits are various flags >-//#define FF_OPT_TYPE_EXPERT 0x20 // flag for expert option >-#define FF_OPT_TYPE_FLAG (FF_OPT_TYPE_BOOL | 0x40) >-#define FF_OPT_TYPE_RCOVERRIDE (FF_OPT_TYPE_STRING | 0x80) >- /** min value (min == max -> no limits) */ >- double min; >- /** maximum value for double/int */ >- double max; >- /** default boo [0,1]l/double/int value */ >- double defval; >- /** >- * default string value (with optional semicolon delimited extra option-list >- * i.e. option1;option2;option3 >- * defval might select other then first argument as default >- */ >- const char *defstr; >-#define FF_OPT_MAX_DEPTH 10 >-} AVOption; >+typedef struct AVOption AVOption; > > /** > * Parse option(s) and sets fields in passed structure >--- ffmpeg-0.4.9-p20050226.orig/libavcodec/common.h >+++ ffmpeg-0.4.9-p20050226/libavcodec/common.h >@@ -54,7 +54,38 @@ > #define AVOPTION_SUB(ptr) { .name = NULL, .help = (const char*)ptr } > #define AVOPTION_END() AVOPTION_SUB(NULL) > >-struct AVOption; >+struct AVOption { >+ /** options' name */ >+ const char *name; /* if name is NULL, it indicates a link to next */ >+ /** short English text help or const struct AVOption* subpointer */ >+ const char *help; // const struct AVOption* sub; >+ /** offset to context structure where the parsed value should be stored */ >+ int offset; >+ /** options' type */ >+ int type; >+#define FF_OPT_TYPE_BOOL 1 ///< boolean - true,1,on (or simply presence) >+#define FF_OPT_TYPE_DOUBLE 2 ///< double >+#define FF_OPT_TYPE_INT 3 ///< integer >+#define FF_OPT_TYPE_STRING 4 ///< string (finished with \0) >+#define FF_OPT_TYPE_MASK 0x1f ///< mask for types - upper bits are various flags >+//#define FF_OPT_TYPE_EXPERT 0x20 // flag for expert option >+#define FF_OPT_TYPE_FLAG (FF_OPT_TYPE_BOOL | 0x40) >+#define FF_OPT_TYPE_RCOVERRIDE (FF_OPT_TYPE_STRING | 0x80) >+ /** min value (min == max -> no limits) */ >+ double min; >+ /** maximum value for double/int */ >+ double max; >+ /** default boo [0,1]l/double/int value */ >+ double defval; >+ /** >+ * default string value (with optional semicolon delimited extra option-list >+ * i.e. option1;option2;option3 >+ * defval might select other then first argument as default >+ */ >+ const char *defstr; >+#define FF_OPT_MAX_DEPTH 10 >+}; >+ > #ifdef HAVE_MMX > extern const struct AVOption avoptions_common[3 + 5]; > #else
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 Raw
Actions:
View
Attachments on
bug 87811
:
55209
|
56898