[FFmpeg-trac] #6096(avcodec:new): ALAC decoder does not set sample rate on context

FFmpeg trac at avcodec.org
Sun Jan 22 21:36:33 EET 2017


#6096: ALAC decoder does not set sample rate on context
-------------------------------------+-------------------------------------
             Reporter:  devint1      |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:  avcodec      |                  Version:  git-
             Keywords:  alac apple   |  master
  lossless decoder                   |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 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
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6096>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list