Opened 13 years ago
Closed 13 years ago
#586 closed defect (fixed)
av_resample takes (short) samples not bytes
Reported by: | Jim Radford | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avcodec |
Version: | git-master | Keywords: | resample |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
When audio_resample calls av_resample it passes the dst_size arg with a byte size (lenout) whereas it should pass (short) samples (lenout/2).
Attachments (1)
Change History (2)
by , 13 years ago
Attachment: | ffmpeg-resample-dst_size.patch added |
---|
comment:1 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed differently, lenout is a count of samples, as can also be seen by it being multiplied by sizeof(short) in some places.
Note:
See TracTickets
for help on using tickets.
Patch to fix unit mismatch in call to av_resample