shithub: opus

Download patch

ref: 970d0529eeaa97f7c06fb37d6bd1b5658ad1e68f
parent: ed4632345ef8edd8ce07403bb4a4996d8c8f440a
author: Mark Harris <[email protected]>
date: Fri Oct 11 13:22:00 EDT 2013

Correct opus_packet_parse code 0 packet tests.

--- a/tests/test_opus_api.c
+++ b/tests/test_opus_api.c
@@ -724,6 +724,7 @@
    /*code 0*/
    for(i=0;i<64;i++)
    {
+      packet[0]=i<<2;
       UNDEFINE_FOR_PARSE
       ret=opus_packet_parse(packet,4,&toc,frames,size,&payload_offset);
       cfgs++;