add ogg test

This commit is contained in:
alexey.lysiuk 2022-09-11 15:50:28 +03:00
parent 9ed489e1fc
commit 373c978424

14
test/ogg.cpp Normal file
View 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;
}