mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-24 21:01:59 +00:00
add ogg test
This commit is contained in:
parent
9ed489e1fc
commit
373c978424
1 changed files with 14 additions and 0 deletions
14
test/ogg.cpp
Normal file
14
test/ogg.cpp
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
#include <ogg/ogg.h>
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
ogg_sync_state sync;
|
||||||
|
AEDI_EXPECT(ogg_sync_init(&sync) == 0);
|
||||||
|
AEDI_EXPECT(ogg_sync_check(&sync) == 0);
|
||||||
|
|
||||||
|
ogg_stream_state stream;
|
||||||
|
AEDI_EXPECT(ogg_stream_init(&stream, 1) == 0);
|
||||||
|
AEDI_EXPECT(ogg_stream_check(&stream) == 0);
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in a new issue