[FFmpeg-trac] #1890(avcodec:new): avpriv_mpeg4audio_sample_rates vector size not correct
FFmpeg
trac at avcodec.org
Tue Nov 6 11:07:33 CET 2012
#1890: avpriv_mpeg4audio_sample_rates vector size not correct
------------------------------------+-----------------------------------
Reporter: dellabetta | 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 dellabetta):
Replying to [comment:1 cehoyos]:
> Please send patches to ffmpeg-devel, they receive more attention there.
>
> But note that your change would (for example) complicate the code in
libavcodec/aacadtsdec.c, so I am not sure the change is desirable.
I see, proabably the following change to mpeg4audio.c should be safer and
easier
const int avpriv_mpeg4audio_sample_rates[16] = {
96000, 88200, 64000, 48000, 44100, 32000,
24000, 22050, 16000, 12000, 11025, 8000, 7350, 0, 0, 0
};
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1890#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list