mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-23 09:59:54 +00:00
Fix command_test Subformat count
This commit is contained in:
parent
30ba21d6c2
commit
64ce116687
@ -532,7 +532,7 @@ format_tests (void)
|
|||||||
/* Now test subtype formats. */
|
/* Now test subtype formats. */
|
||||||
sf_command (NULL, SFC_GET_FORMAT_SUBTYPE_COUNT, &count, sizeof (int)) ;
|
sf_command (NULL, SFC_GET_FORMAT_SUBTYPE_COUNT, &count, sizeof (int)) ;
|
||||||
|
|
||||||
if (count < 0 || count > 30)
|
if (count < 0 || count > 33)
|
||||||
{ printf ("Line %d: Weird count.\n", __LINE__) ;
|
{ printf ("Line %d: Weird count.\n", __LINE__) ;
|
||||||
exit (1) ;
|
exit (1) ;
|
||||||
} ;
|
} ;
|
||||||
|
Loading…
Reference in New Issue
Block a user