shithub: opus

Download patch

ref: f919dd7445be38ec8c379279cab9a70b3f5957a8
parent: 96e32235a77d481fc7c3683ffa45722bb70a96ae
author: Gregory Maxwell <[email protected]>
date: Tue Feb 8 18:06:01 EST 2011

5ms frame mode was not working in test_opus.

--- a/src/test_opus.c
+++ b/src/test_opus.c
@@ -164,7 +164,7 @@
             if (strcmp(argv[ args + 1 ], "2.5")==0)
                 frame_size = sampling_rate/400;
             else if (strcmp(argv[ args + 1 ], "5")==0)
-                frame_size = sampling_rate/400;
+                frame_size = sampling_rate/200;
             else if (strcmp(argv[ args + 1 ], "10")==0)
                 frame_size = sampling_rate/100;
             else if (strcmp(argv[ args + 1 ], "20")==0)