Author: kostya
Date: Wed Aug 13 14:22:17 2008
New Revision: 3215

Log:
There's no need to adjust thresholds for zero frame

Modified:
   aacenc/aacpsy.c

Modified: aacenc/aacpsy.c
==============================================================================
--- aacenc/aacpsy.c     (original)
+++ aacenc/aacpsy.c     Wed Aug 13 14:22:17 2008
@@ -716,6 +716,7 @@ static void psy_3gpp_process(AACPsyConte
                 b0  += pch->b[ch];
                 pe0 += pch->pe[ch];
             }
+            if(pe0 == 0.0f) break;
             t0 = pow(2.0, (a0 - pe0)       / (4.0 * b0));
             r  = pow(2.0, (a0 - pe_target) / (4.0 * b0)) - t0;
 
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to