[FFmpeg-trac] #6712(avcodec:new): Type mismatch between vorbis_context_s::audio_samplerate and AVCodecContext::sample_rate

FFmpeg trac at avcodec.org
Sat Oct 7 11:18:34 EEST 2017


#6712: Type mismatch between vorbis_context_s::audio_samplerate and
AVCodecContext::sample_rate
------------------------------------+-----------------------------------
             Reporter:  jrummell    |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-----------------------------------

Comment (by heleppkes):

 Considering it does error out, not sure what else its supposed to do?
 Error out differently with a positive huge sample rate? Cosmetic at best,
 isn't it?

 We can't possibly handle sample rates over INT_MAX either way, the
 sample_rate field is just an int in generic code, and as such part of API
 and ABI, so changing that would be complex. And I don't think you are
 advocating for that either.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6712#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list