mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
1f3f906886
Original commit message from CVS: Updated test to have a comment explaining its purpose (very important this, especially for regression tests), and to actually test what I meant it to.
13 lines
292 B
C
13 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;
|
|
}
|