OLD | NEW |
1 This contains FFmpeg's public header files from the output of a "make install" | 1 This contains FFmpeg's public header files from the output of a "make install" |
2 command. The header files are from FFmpeg revision 18286. | 2 command. The header files are from Chromium's copy of FFmpeg. |
3 | 3 |
4 Steps to reproduce: | 4 Steps to reproduce: |
5 1) If on Windows, refer to http://ffmpeg.arrozcru.org for environment setup | 5 1) If on Windows, refer to our MinGW/MSYS environment setup: |
6 2) Check out FFmpeg from their repository | 6 http://src.chromium.org/viewvc/chrome/trunk/deps/third_party/mingw/ |
7 3) ./configure --prefix=/path/to/chrome/src/third_party/ffmpeg | 7 2) Grab Chromium's copy of FFmpeg: |
8 4) make && make install | 8 http://src.chromium.org/viewvc/chrome/trunk/deps/third_party/ffmpeg/ |
9 5) Remove bin and lib folders, leaving the include folder behind | 9 3) Follow the instructions to build and install. |
| 10 4) Go to your install location and copy the following into the Chromium tree: |
| 11 /path/to/install/include/libavcodec |
| 12 /path/to/install/include/libavformat |
| 13 /path/to/install/include/libavutil |
10 | 14 |
11 The project contains some hand-written DEF files used to generate import | 15 The project contains some hand-written DEF files used to generate import |
12 libraries to permit dynamically loading FFmpeg. The libaries are linked in | 16 libraries to permit dynamically loading FFmpeg. The libaries are linked in |
13 using /DELAYLOAD to avoid having the DLLs present at run-time. | 17 using /DELAYLOAD to avoid having the DLLs present at run-time. |
14 | 18 |
15 We don't use the import libraries generated from building FFmpeg because they | 19 We don't use the import libraries generated from building FFmpeg because they |
16 export every method by ordinal, which makes binary compatability with different | 20 export every method by ordinal, which makes binary compatability with different |
17 builds of FFmpeg difficult if not impossible. Furthermore, it is much easier | 21 builds of FFmpeg difficult if not impossible. Furthermore, it is much easier |
18 to update a DEF file instead of rebuilding FFmpeg to generate new import | 22 to update a DEF file instead of rebuilding FFmpeg to generate new import |
19 libraries. | 23 libraries. |
20 | |
OLD | NEW |