Skip to content

Commit 12eb489

Browse files
committed
apple: use ffmpeg master w/o lto
crash if failed to open a url * thread #9, name = 'mdk.read@0x17025b000', stop reason = EXC_BAD_ACCESS (code=1, address=0xb) * frame #0: 0x00000001021856b0 libffmpeg.8.dylib`close + 20 frame #1: 0x0000000101d802e8 libffmpeg.8.dylib`tcp_close + 40 frame #2: 0x0000000101e615b4 libffmpeg.8.dylib`ffurl_closep + 96 frame #3: 0x0000000101e2b02c libffmpeg.8.dylib`tls_close + 104 frame #4: 0x0000000101e2ae24 libffmpeg.8.dylib`tls_open + 988 frame #5: 0x0000000101e60708 libffmpeg.8.dylib`ffurl_connect + 840 frame #6: 0x0000000101e6151c libffmpeg.8.dylib`ffurl_open_whitelist + 620 frame #7: 0x0000000101da12dc libffmpeg.8.dylib`http_open_cnx_internal + 900 frame #8: 0x0000000101d9f918 libffmpeg.8.dylib`http_open_cnx + 208 frame #9: 0x0000000101d9ffb4 libffmpeg.8.dylib`http_open + 488 frame #10: 0x0000000101e60708 libffmpeg.8.dylib`ffurl_connect + 840 frame #11: 0x0000000101e6151c libffmpeg.8.dylib`ffurl_open_whitelist + 620 frame #12: 0x0000000101e61834 libffmpeg.8.dylib`ffio_open_whitelist + 84 frame #13: 0x0000000101e618f0 libffmpeg.8.dylib`avio_open2 + 64
1 parent f2674a3 commit 12eb489

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
env:
2626
TARGET_OS: 'macOS'
2727
TARGET_ARCH: ${{ matrix.arch }}
28-
LTO_SUFFIX: -lto
28+
#LTO_SUFFIX: -lto # lto on master branch crashes in avio_open2 if open
2929
strategy:
3030
fail-fast: false
3131
matrix:
@@ -102,7 +102,7 @@ jobs:
102102
runs-on: macos-15
103103
env:
104104
TARGET_OS: ${{ matrix.os }}${{ matrix.simulator }}
105-
LTO_SUFFIX: -lto
105+
#LTO_SUFFIX: -lto # lto on master branch crashes in avio_open2 if open
106106
strategy:
107107
fail-fast: false
108108
matrix:
@@ -289,6 +289,11 @@ jobs:
289289
with:
290290
name: mdk-sdk-apple
291291
path: mdk-sdk-apple.tar.xz
292+
- name: Archieve XCFramework SDK
293+
uses: actions/upload-artifact@v4
294+
with:
295+
name: mdk-sdk-apple-zip
296+
path: mdk-sdk-apple.zip
292297
- name: Archieve macOS SDK
293298
uses: actions/upload-artifact@v4
294299
with:
@@ -1080,10 +1085,14 @@ jobs:
10801085
uses: actions/download-artifact@v4
10811086
with:
10821087
name: mdk-sdk-macOS
1083-
- name: Download Apple sdk
1088+
- name: Download Apple sdk txz
10841089
uses: actions/download-artifact@v4
10851090
with:
10861091
name: mdk-sdk-apple
1092+
- name: Download Apple sdk zip
1093+
uses: actions/download-artifact@v4
1094+
with:
1095+
name: mdk-sdk-apple-zip
10871096
- name: Download win32 vs2022 sdk
10881097
uses: actions/download-artifact@v4
10891098
with:
@@ -1108,6 +1117,7 @@ jobs:
11081117
uses: actions/download-artifact@v4
11091118
with:
11101119
name: mdk-sdk-android-MinSizeRel
1120+
- run: ls -lh
11111121
- name: Release
11121122
uses: softprops/action-gh-release@v2
11131123
with:
@@ -1116,4 +1126,5 @@ jobs:
11161126
#body_path: Changelog.md
11171127
files: |
11181128
*.7z
1119-
*.xz
1129+
*.xz
1130+
mdk-sdk-apple.zip

mdk.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'mdk'
3-
s.version = '0.31.0'
3+
s.version = '0.32.0'
44
s.summary = 'Multimedia Development Kit'
55
s.homepage = 'https://github.com/wang-bin/mdk-sdk'
66

0 commit comments

Comments
 (0)