Author: superdump
Date: Sat Aug  9 23:00:07 2008
New Revision: 3099

Log:
Only sample rates down to 8kHz are supported so don't allow 7350Hz.


Modified:
   aac/aac.c

Modified: aac/aac.c
==============================================================================
--- aac/aac.c   (original)
+++ aac/aac.c   Sat Aug  9 23:00:07 2008
@@ -235,7 +235,7 @@ static int decode_pce(AACContext * ac, e
     skip_bits(gb, 2);  // object_type
 
     ac->m4ac.sampling_index = get_bits(gb, 4);
-    if(ac->m4ac.sampling_index > 12) {
+    if(ac->m4ac.sampling_index > 11) {
         av_log(ac->avccontext, AV_LOG_ERROR, "invalid sampling rate index 
%d\n", ac->m4ac.sampling_index);
         return -1;
     }
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to