Commit fcaed54
Fix cross-compile, stale artifacts, packaging errors, and memory leaks
- Set cross-compile flags based on host architecture so universal
builds work on both Intel and Apple Silicon Macs
- Remove stale ffmpeg/universal dir before single-arch builds to
prevent linking against outdated libs
- Add error checking to plugin packaging (RESULT_VARIABLE + FATAL_ERROR)
- Fix memory leaks in ConfigModel: use stack allocation instead of
malloc without free
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 7732dad commit fcaed54
File tree
3 files changed
+26
-6
lines changed- ffmpeg/build-scripts
- src
3 files changed
+26
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
359 | | - | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
360 | 363 | | |
361 | | - | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
362 | 369 | | |
363 | | - | |
| 370 | + | |
364 | 371 | | |
365 | | - | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
366 | 377 | | |
367 | 378 | | |
368 | 379 | | |
| |||
379 | 390 | | |
380 | 391 | | |
381 | 392 | | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
382 | 396 | | |
383 | 397 | | |
384 | 398 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | | - | |
| 224 | + | |
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
| |||
433 | 433 | | |
434 | 434 | | |
435 | 435 | | |
436 | | - | |
| 436 | + | |
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
| |||
0 commit comments