From 373c97842468a3f429d76b3e6382d9de2f56e225 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sun, 11 Sep 2022 15:50:28 +0300 Subject: [PATCH] add ogg test --- test/ogg.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test/ogg.cpp diff --git a/test/ogg.cpp b/test/ogg.cpp new file mode 100644 index 00000000..fef39fe3 --- /dev/null +++ b/test/ogg.cpp @@ -0,0 +1,14 @@ +#include + +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; +}