Lines Matching refs:OPUS_INVALID_PACKET
255 if(opus_packet_get_nb_samples(packet,1,24000)!=OPUS_INVALID_PACKET)test_failed();
259 if(opus_packet_get_nb_samples(packet,2,48000)!=OPUS_INVALID_PACKET)test_failed();
260 if(opus_decoder_get_nb_samples(dec,packet,2)!=OPUS_INVALID_PACKET)test_failed();
266 int l1res[4]={1,2,2,OPUS_INVALID_PACKET};
304 if(opus_decode(dec, packet, 51, sbuf, 960, 0)!=OPUS_INVALID_PACKET)test_failed();
654 if(opus_multistream_decode(dec, packet, 51, sbuf, 960, 0)!=OPUS_INVALID_PACKET)test_failed();
756 } else if(ret!=OPUS_INVALID_PACKET)test_failed();
769 if(ret!=OPUS_INVALID_PACKET)test_failed();
774 if(ret!=OPUS_INVALID_PACKET)test_failed();
783 if(ret!=OPUS_INVALID_PACKET)test_failed();
788 if(ret!=OPUS_INVALID_PACKET)test_failed();
817 if(ret!=OPUS_INVALID_PACKET)test_failed();
832 if(ret!=OPUS_INVALID_PACKET)test_failed();
837 if(ret!=OPUS_INVALID_PACKET)test_failed();
842 if(ret!=OPUS_INVALID_PACKET)test_failed();
847 if(ret!=OPUS_INVALID_PACKET)test_failed();
870 if(ret!=OPUS_INVALID_PACKET)test_failed();
895 } else if(ret!=OPUS_INVALID_PACKET)test_failed();
928 if(ret!=OPUS_INVALID_PACKET)test_failed();
936 if(ret!=OPUS_INVALID_PACKET)test_failed();
943 if(ret!=OPUS_INVALID_PACKET)test_failed();
949 if(ret!=OPUS_INVALID_PACKET)test_failed();
957 if(ret!=OPUS_INVALID_PACKET)test_failed();
967 } else if(ret!=OPUS_INVALID_PACKET)test_failed();
987 } else if(ret!=OPUS_INVALID_PACKET)test_failed();
1004 if(ret!=OPUS_INVALID_PACKET)test_failed();
1021 if(ret!=OPUS_INVALID_PACKET)test_failed();
1031 } else if (ret!=OPUS_INVALID_PACKET)test_failed();
1476 if(opus_repacketizer_cat(rp,packet,0)!=OPUS_INVALID_PACKET)test_failed(); /* Zero len */
1479 if(opus_repacketizer_cat(rp,packet,2)!=OPUS_INVALID_PACKET)test_failed(); /* Odd payload code 1 */
1482 if(opus_repacketizer_cat(rp,packet,1)!=OPUS_INVALID_PACKET)test_failed(); /* Code 2 overflow one */
1485 if(opus_repacketizer_cat(rp,packet,1)!=OPUS_INVALID_PACKET)test_failed(); /* Code 3 no count */
1489 if(opus_repacketizer_cat(rp,packet,2)!=OPUS_INVALID_PACKET)test_failed(); /* Code 2 overflow two */
1493 if(opus_repacketizer_cat(rp,packet,251)!=OPUS_INVALID_PACKET)test_failed(); /* Code 2 overflow three */
1497 if(opus_repacketizer_cat(rp,packet,2)!=OPUS_INVALID_PACKET)test_failed(); /* Code 3 m=0 */
1500 if(opus_repacketizer_cat(rp,packet,100)!=OPUS_INVALID_PACKET)test_failed(); /* Code 3 m=49 */
1506 if(opus_repacketizer_cat(rp,packet,3)!=OPUS_INVALID_PACKET)test_failed(); /* Change in TOC */
1535 if((cnt<=maxp&&k<=(1275*i))?ret!=OPUS_OK:ret!=OPUS_INVALID_PACKET)test_failed();
1658 } else if (ret!=OPUS_INVALID_PACKET)test_failed();
1714 if(opus_packet_unpad(po,4)!=OPUS_INVALID_PACKET)test_failed();
1716 if(opus_multistream_packet_unpad(po,4,1)!=OPUS_INVALID_PACKET)test_failed();