valve: Fix MSVC compile warning

gstvalve.c(285) : warning C4715: 'gst_valve_event_needs_dropping':
not all control paths return a value

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/624>
This commit is contained in:
Seungha Yang 2020-09-11 02:59:51 +09:00
parent 8d0055e185
commit 62f2a86eea

View file

@ -282,6 +282,8 @@ gst_valve_event_needs_dropping (GstValve * valve, GstEvent * event)
g_assert_not_reached ();
break;
}
return FALSE;
}
static gboolean