Risk of division by zero.

bug=b9338699

R=tina.legrand@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/1634004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4223 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/webrtc/modules/audio_coding/neteq/automode.c b/webrtc/modules/audio_coding/neteq/automode.c
index ea6fa8d..646f164 100644
--- a/webrtc/modules/audio_coding/neteq/automode.c
+++ b/webrtc/modules/audio_coding/neteq/automode.c
@@ -218,12 +218,12 @@
         {
             int high_lim_delay;
             /* Convert the minimum delay from milliseconds to packets in Q8.
-             * |fsHz| is sampling rate in Hertz, and |inst->packetSpeechLenSamp|
+             * |fsHz| is sampling rate in Hertz, and |packetLenSamp|
              * is the number of samples per packet (according to the last
              * decoding).
              */
             int32_t minimum_delay_q8 = ((inst->minimum_delay_ms *
-                (fsHz / 1000)) << 8) / inst->packetSpeechLenSamp;
+                (fsHz / 1000)) << 8) / packetLenSamp;
             inst->optBufLevel = tempvar;
 
             if (streamingMode != 0)