mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
make the NULL check silent since it might be valid.
Original commit message from CVS: make the NULL check silent since it might be valid.
This commit is contained in:
parent
157e961c26
commit
de355109ae
2 changed files with 2 additions and 2 deletions
|
@ -145,7 +145,7 @@ gst_disksink_getcurrentfilename (GstDiskSink *disksink)
|
||||||
{
|
{
|
||||||
g_return_val_if_fail(disksink != NULL, NULL);
|
g_return_val_if_fail(disksink != NULL, NULL);
|
||||||
g_return_val_if_fail(GST_IS_DISKSINK(disksink), NULL);
|
g_return_val_if_fail(GST_IS_DISKSINK(disksink), NULL);
|
||||||
g_return_val_if_fail(disksink->filename != NULL, NULL);
|
if (disksink->filename == NULL) return NULL;
|
||||||
g_return_val_if_fail(disksink->filenum >= 0, NULL);
|
g_return_val_if_fail(disksink->filenum >= 0, NULL);
|
||||||
|
|
||||||
if (!strstr(disksink->filename, "%"))
|
if (!strstr(disksink->filename, "%"))
|
||||||
|
|
|
@ -145,7 +145,7 @@ gst_disksink_getcurrentfilename (GstDiskSink *disksink)
|
||||||
{
|
{
|
||||||
g_return_val_if_fail(disksink != NULL, NULL);
|
g_return_val_if_fail(disksink != NULL, NULL);
|
||||||
g_return_val_if_fail(GST_IS_DISKSINK(disksink), NULL);
|
g_return_val_if_fail(GST_IS_DISKSINK(disksink), NULL);
|
||||||
g_return_val_if_fail(disksink->filename != NULL, NULL);
|
if (disksink->filename == NULL) return NULL;
|
||||||
g_return_val_if_fail(disksink->filenum >= 0, NULL);
|
g_return_val_if_fail(disksink->filenum >= 0, NULL);
|
||||||
|
|
||||||
if (!strstr(disksink->filename, "%"))
|
if (!strstr(disksink->filename, "%"))
|
||||||
|
|
Loading…
Reference in a new issue