gstreamer/testsuite/test_gst_init.c
Thomas Vander Stichele a967370df5 gst-indent run on core
Original commit message from CVS:
gst-indent run on core
2004-03-13 15:27:01 +00:00

13 lines
294 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;
}