opusenc can destroy its input
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 3.3k
- Forks
- 808
- PR merge metrics
- No merged PRs in 30d
Description
If, by mistake, one supplies the input file name also as the output file name, opusenc destroys the input file:
opusenc x.flac x.flac
results in a corrupted x.flac.
opus-tools-0.2-11.fc38.x86_64
Contributor guide
No contributing guide indexed for this repository
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 locating the opusenc input and output file handling, then reproduce the reported command opusenc x.flac x.flac. Done means supplying the same path for both files no longer corrupts the input, with a regression test covering that case.
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
- 45/100