Commit 5dddc32
committed
fix: route FLAC clip extraction through temp file to fix corrupted headers
FLAC output to pipe (pipe:1) produces broken STREAMINFO headers because
FFmpeg cannot seek back to finalize the total sample count, min/max frame
sizes, and MD5 checksum. This caused exported FLAC files to have zeroed
metadata fields and corrupted audio on playback.
Fix by adding FormatFLAC to requiresSeekableOutput so clip extraction
uses a temporary file, same as AAC and ALAC already do.1 parent 1dc439d commit 5dddc32
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
| 54 | + | |
52 | 55 | | |
53 | 56 | | |
54 | 57 | | |
| |||
0 commit comments