summaryrefslogtreecommitdiff
path: root/src/test_opus.c
diff options
context:
space:
mode:
authorKoen Vos <koen.vos@skype.net>2011-08-25 13:50:21 -0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2011-08-26 09:42:18 -0400
commit4e1ce38d49963361c53932783b6d590b115e4255 (patch)
tree79b22758b2c9ba6a65d3ae496ceb29c0d4ce4bf3 /src/test_opus.c
parentfa8e3c53c8167aabb961872d2cc17848502985e6 (diff)
downloadopus-4e1ce38d49963361c53932783b6d590b115e4255.tar.gz
Addresses a bitstream bug for stereo FEC and minor fixes that make Opus compile again with Visual Studio.
Diffstat (limited to 'src/test_opus.c')
-rw-r--r--src/test_opus.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/test_opus.c b/src/test_opus.c
index d383c816..0413b566 100644
--- a/src/test_opus.c
+++ b/src/test_opus.c
@@ -114,6 +114,8 @@ int main(int argc, char *argv[])
opus_uint32 enc_final_range[2];
opus_uint32 dec_final_range;
int encode_only=0, decode_only=0;
+ int max_frame_size = 960*6;
+ int curr_read=0;
if (argc < 7 )
{
@@ -157,8 +159,8 @@ int main(int argc, char *argv[])
forcemono = 0;
use_dtx = 0;
packet_loss_perc = 0;
- int max_frame_size = 960*6;
- int curr_read=0;
+ max_frame_size = 960*6;
+ curr_read=0;
args = 5;
while( args < argc - 2 ) {