source: trunk/third/gstreamer/testsuite/test_gst_init.c @ 21005

Revision 21005, 294 bytes checked in by ghudson, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r21004, which included commits to RCS files with non-trunk default branches.
Line 
1#include <gst/gst.h>
2
3/* This tests that gst_init() doesn't segfault when passed two NULLs as
4 * parameters, and that it doesn't fail if gst_init() happens to get called
5 * a second time. */
6int
7main (int argc, char *argv[])
8{
9  gst_init (NULL, NULL);
10  gst_init (&argc, &argv);
11
12  return 0;
13}
Note: See TracBrowser for help on using the repository browser.