]> git.pld-linux.org Git - packages/ffmpeg.git/blob - ffmpeg-gcc4.patch
- obsolete
[packages/ffmpeg.git] / ffmpeg-gcc4.patch
1 diff -Naur ffmpeg-0.4.9-pre1.orig/libavcodec/ac3enc.c ffmpeg-0.4.9-pre1/libavcodec/ac3enc.c
2 --- ffmpeg-0.4.9-pre1.orig/libavcodec/ac3enc.c  2004-02-18 20:15:19.000000000 +0100
3 +++ ffmpeg-0.4.9-pre1/libavcodec/ac3enc.c       2005-05-04 19:59:42.000000000 +0200
4 @@ -25,6 +25,7 @@
5  //#define DEBUG_BITALLOC
6  #include "avcodec.h"
7  
8 +#include "ac3tab.h"
9  #include "ac3.h"
10  
11  typedef struct AC3EncodeContext {
12 @@ -57,8 +58,6 @@
13      int mant1_cnt, mant2_cnt, mant4_cnt;
14  } AC3EncodeContext;
15  
16 -#include "ac3tab.h"
17 -
18  #define MDCT_NBITS 9
19  #define N         (1 << MDCT_NBITS)
20  
21 diff -Naur ffmpeg-0.4.9-pre1.orig/libavcodec/avcodec.h ffmpeg-0.4.9-pre1/libavcodec/avcodec.h
22 --- ffmpeg-0.4.9-pre1.orig/libavcodec/avcodec.h 2004-07-09 14:49:55.000000000 +0200
23 +++ ffmpeg-0.4.9-pre1/libavcodec/avcodec.h      2005-05-04 19:58:16.000000000 +0200
24 @@ -1657,6 +1657,13 @@
25  #define FF_OPT_MAX_DEPTH 10
26  } AVOption;
27  
28 +#ifdef HAVE_MMX
29 +extern const struct AVOption avoptions_common[3 + 5];
30 +#else
31 +extern const struct AVOption avoptions_common[3];
32 +#endif
33 +extern const struct AVOption avoptions_workaround_bug[11];
34 +
35  /**
36   * Parse option(s) and sets fields in passed structure
37   * @param strct        structure where the parsed results will be written
38 diff -Naur ffmpeg-0.4.9-pre1.orig/libavcodec/common.h ffmpeg-0.4.9-pre1/libavcodec/common.h
39 --- ffmpeg-0.4.9-pre1.orig/libavcodec/common.h  2004-07-01 14:33:07.000000000 +0200
40 +++ ffmpeg-0.4.9-pre1/libavcodec/common.h       2005-05-04 19:58:16.000000000 +0200
41 @@ -62,14 +62,6 @@
42  #define AVOPTION_SUB(ptr) { .name = NULL, .help = (const char*)ptr }
43  #define AVOPTION_END() AVOPTION_SUB(NULL)
44  
45 -struct AVOption;
46 -#ifdef HAVE_MMX
47 -extern const struct AVOption avoptions_common[3 + 5];
48 -#else
49 -extern const struct AVOption avoptions_common[3];
50 -#endif
51 -extern const struct AVOption avoptions_workaround_bug[11];
52 -
53  #endif /* HAVE_AV_CONFIG_H */
54  
55  /* Suppress restrict if it was not defined in config.h.  */
This page took 0.158318 seconds and 3 git commands to generate.