Opened 9 years ago
Closed 9 years ago
#6096 closed defect (fixed)
ALAC decoder does not set sample rate on context
| Reported by: | Devin Tuchsen | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | avcodec |
| Version: | git-master | Keywords: | alac |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | no |
Description
Summary of the bug: ALAC decoder does not set sample rate on its AVCodecContext. This is inconsistent with other decoders, e.g., Vorbis, Opus, FLAC.
How to reproduce: After opening an ALAC decoder in a project using libavcodec, attempt to get sample rate via avctx->sample_rate.
ffmpeg version: 3.2.git built on 16-01-18
Attachments (1)
Change History (6)
by , 9 years ago
| Attachment: | patchalac.diff added |
|---|
comment:1 by , 9 years ago
| Keywords: | apple lossless decoder removed |
|---|
comment:5 by , 9 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Applied as 12f7c091e8044a70c8d0d4cca156bf3223c2ad5d, thank you for testing the patch!
Note:
See TracTickets
for help on using tickets.



Please test attached patch.