gstreamer/testsuite/test_gst_init.c
Erik Walthinsen e6a59c8a62 Merged HEAD from BRANCH-INCSCHED1-200104161 into BRANCH-INCSCHED1.
Original commit message from CVS:
Merged HEAD from BRANCH-INCSCHED1-200104161 into BRANCH-INCSCHED1.
2001-04-16 21:43:28 +00:00

14 lines
292 B
C

#include <gst/gst.h>
/* This tests that gst_init() doesn't segfault when passed two NULLs as
* parameters, and that it doesn't fail if gst_init() happens to get called
* a second time. */
int
main (int argc, char *argv[])
{
gst_init(NULL, NULL);
gst_init(&argc, &argv);
return 0;
}