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.

MvH
Benjamin Larsson
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to