On Mon, Sep 24, 2012 at 4:56 PM, Benjamin Larsson <[email protected]> wrote: > On 09/25/2012 12:16 AM, Nathan Caldwell wrote: >> >> --- >> libavcodec/libfdk-aacenc.c | 6 ++++++ >> 1 file changed, 6 insertions(+) >> >> diff --git a/libavcodec/libfdk-aacenc.c b/libavcodec/libfdk-aacenc.c >> index c9ecc4c..4c17a95 100644 >> --- a/libavcodec/libfdk-aacenc.c >> +++ b/libavcodec/libfdk-aacenc.c >> @@ -393,6 +393,11 @@ static const uint64_t aac_channel_layout[] = { >> 0, >> }; >> +static const int aac_sample_rates[15] = { >> + 96000, 88200, 64000, 48000, 44100, 32000, >> + 24000, 22050, 16000, 12000, 11025, 8000 >> +}; >> + > > > I think you need a 0 entry last. Otherwise I don't know how this would work > properly.
erm, oops. -- -Nathan Caldwell _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
