[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 02:29:47 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 jrummell):
As I read the Vorbis spec, the sample_rate specified in the test file is
4261460864 Hz (as it's unsigned 32 bits). The conversion to int results in
-33506432 Hz. vorbis_parse_id_hdr() doesn't report an error with the
header, so it appears valid. Looks like ffmpeg.c later complains about the
negative sample_rate.
As this file was generated by a fuzzer, I don't know if there are any
valid Vorbis files with sample_rate > 2147483647 Hz.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6712#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list