.WAV files are deleted after decoding attempt
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 2.4k
- Forks
- 363
- PR merge metrics
- No merged PRs in 30d
Description
Hello.
In case you accidentally try to decode .WAV instead of .FLAC there is an error shown:
ERROR while decoding metadata
state = FLAC__STREAM_DECODER_END_OF_STREAM
Press any key to continue . . .
and .WAV file disappears.
build is taken here https://github.com/xiph/flac/actions/runs/11893043149
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported behavior with the build linked in the issue, using a .WAV file where a .FLAC file is expected. Trace the decode attempt and file-removal path; done means the decoding error still appears without deleting the .WAV file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100