mirror of
https://github.com/xiph/opus.git
synced 2025-06-05 23:10:54 +00:00
test_opus_api: Fix valgrind expectations broken by last commit.
The last commit changed some of the multistream tests to use a dual-mono setup instead of a single-stereo setup. Some of the accompanying explicit valgrind checks were still setup to look for stereo streams.
This commit is contained in:
parent
28b41ae5ae
commit
9881484dbd
1 changed files with 2 additions and 1 deletions
|
@ -422,13 +422,14 @@ opus_int32 test_msdec_api(void)
|
||||||
cfgs++;
|
cfgs++;
|
||||||
err=opus_multistream_decoder_ctl(dec, OPUS_MULTISTREAM_GET_DECODER_STATE(1,&streamdec));
|
err=opus_multistream_decoder_ctl(dec, OPUS_MULTISTREAM_GET_DECODER_STATE(1,&streamdec));
|
||||||
if(err!=OPUS_OK||streamdec==NULL)test_failed();
|
if(err!=OPUS_OK||streamdec==NULL)test_failed();
|
||||||
|
VG_CHECK(streamdec,opus_decoder_get_size(1));
|
||||||
cfgs++;
|
cfgs++;
|
||||||
err=opus_multistream_decoder_ctl(dec, OPUS_MULTISTREAM_GET_DECODER_STATE(2,&streamdec));
|
err=opus_multistream_decoder_ctl(dec, OPUS_MULTISTREAM_GET_DECODER_STATE(2,&streamdec));
|
||||||
if(err!=OPUS_BAD_ARG)test_failed();
|
if(err!=OPUS_BAD_ARG)test_failed();
|
||||||
cfgs++;
|
cfgs++;
|
||||||
err=opus_multistream_decoder_ctl(dec, OPUS_MULTISTREAM_GET_DECODER_STATE(0,&streamdec));
|
err=opus_multistream_decoder_ctl(dec, OPUS_MULTISTREAM_GET_DECODER_STATE(0,&streamdec));
|
||||||
if(err!=OPUS_OK||streamdec==NULL)test_failed();
|
if(err!=OPUS_OK||streamdec==NULL)test_failed();
|
||||||
VG_CHECK(streamdec,opus_decoder_get_size(2));
|
VG_CHECK(streamdec,opus_decoder_get_size(1));
|
||||||
fprintf(stdout," OPUS_MULTISTREAM_GET_DECODER_STATE ........... OK.\n");
|
fprintf(stdout," OPUS_MULTISTREAM_GET_DECODER_STATE ........... OK.\n");
|
||||||
cfgs++;
|
cfgs++;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue