File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ RUN git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg
77COPY Makefile.lib.linux ffmpeg/Makefile.lib.linux
88COPY Makefile.jni.linux ffmpeg/Makefile.jni.linux
99
10+ COPY Patch.linux ffmpeg/Patch.linux
11+ RUN patch -p0 < ffmpeg/Patch.linux
12+
1013COPY build-linux.sh build-linux.sh
1114
1215RUN chmod 700 build-linux.sh
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ RUN git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg
77COPY Makefile.lib.mingw64 ffmpeg/Makefile.lib.mingw64
88COPY Makefile.jni.mingw64 ffmpeg/Makefile.jni.mingw64
99
10- COPY mingw64.patch ffmpeg/mingw64.patch
11- RUN patch -p0 < ffmpeg/mingw64.patch
10+ COPY Patch.mingw64 ffmpeg/Patch.mingw64
11+ RUN patch -p0 < ffmpeg/Patch.mingw64
1212
1313COPY build-mingw64.sh build-mingw64.sh
1414
Original file line number Diff line number Diff line change 1+ diff --git a/libavutil/dict.h b/libavutil/dict.h
2+ index 118f1f0..df4bd04 100644
3+ --- /ffmpeg/libavutil/dict.h
4+ +++ /ffmpeg/libavutil/dict.h
5+ @@ -83,7 +83,8 @@ typedef struct AVDictionaryEntry {
6+ char *value;
7+ } AVDictionaryEntry;
8+
9+ -typedef struct AVDictionary AVDictionary;
10+ +typedef struct AVDictionary {
11+ +} AVDictionary;
12+
13+ /**
14+ * Get a dictionary entry with matching key.
Original file line number Diff line number Diff line change 1+ diff --git a/libavutil/dict.h b/libavutil/dict.h
2+ index 118f1f0..df4bd04 100644
3+ --- ffmpeg/libavutil/dict.h
4+ +++ ffmpeg/libavutil/dict.h
5+ @@ -83,7 +83,8 @@ typedef struct AVDictionaryEntry {
6+ char *value;
7+ } AVDictionaryEntry;
8+
9+ -typedef struct AVDictionary AVDictionary;
10+ +typedef struct AVDictionary {
11+ +} AVDictionary;
12+
13+ /**
14+ * Get a dictionary entry with matching key.
Original file line number Diff line number Diff line change @@ -24,3 +24,19 @@ diff -u /usr/share/mingw-w64/include/servprov.h /usr/share/mingw-w64/include/ser
2424 }
2525 };
2626 }
27+
28+
29+ diff --git a/libavutil/dict.h b/libavutil/dict.h
30+ index 118f1f0..df4bd04 100644
31+ --- /ffmpeg/libavutil/dict.h
32+ +++ /ffmpeg/libavutil/dict.h
33+ @@ -83,7 +83,8 @@ typedef struct AVDictionaryEntry {
34+ char *value;
35+ } AVDictionaryEntry;
36+
37+ -typedef struct AVDictionary AVDictionary;
38+ +typedef struct AVDictionary {
39+ +} AVDictionary;
40+
41+ /**
42+ * Get a dictionary entry with matching key.
Original file line number Diff line number Diff line change @@ -6,9 +6,11 @@ rm -fR ffmpeg
66git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg
77
88cp Makefile.lib.macos ffmpeg/Makefile.lib.macos
9-
109cp Makefile.jni.macos ffmpeg/Makefile.jni.macos
1110
11+ cp Patch.macos ffmpeg/Patch.macos
12+ patch -p0 < ffmpeg/Patch.macos
13+
1214cd ffmpeg
1315
1416make -f Makefile.lib.macos ffmpeg
Original file line number Diff line number Diff line change @@ -852,7 +852,8 @@ typedef struct AVDictionaryEntry {
852852 char *value;
853853} AVDictionaryEntry;
854854
855- typedef struct AVDictionary {} AVDictionary;
855+ typedef struct AVDictionary {
856+ } AVDictionary;
856857
857858/* *
858859 * Get a dictionary entry with matching key.
You can’t perform that action at this time.
0 commit comments