summaryrefslogtreecommitdiff
path: root/gst/mpegpsmux
diff options
context:
space:
mode:
authorEunhae Choi <eunhae1.choi@samsung.com>2017-06-19 20:35:30 +0900
committerTim-Philipp Müller <tim@centricular.com>2017-06-27 00:17:03 +0100
commited5d677dce5d2cbde684fc2cc753477fdde312bf (patch)
tree79af2526b25301db2e5648d332c4e25c4d91c94f /gst/mpegpsmux
parent4f9163c06cd27ce12c4c69c2f6916f85fe64c760 (diff)
mpegpsmux: remove unnecessary g_return_if_fail()
This should never happen, and should be a g_assert() if it's a worry. Fixes warnings from source code checkers about possible caps leaks here. https://bugzilla.gnome.org/show_bug.cgi?id=783955
Diffstat (limited to 'gst/mpegpsmux')
-rw-r--r--gst/mpegpsmux/mpegpsmux.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gst/mpegpsmux/mpegpsmux.c b/gst/mpegpsmux/mpegpsmux.c
index cdd3681d2..a2cb2576f 100644
--- a/gst/mpegpsmux/mpegpsmux.c
+++ b/gst/mpegpsmux/mpegpsmux.c
@@ -229,7 +229,6 @@ mpegpsmux_create_stream (MpegPsMux * mux, MpegPsPadData * ps_data, GstPad * pad)
}
s = gst_caps_get_structure (caps, 0);
- g_return_val_if_fail (s != NULL, FALSE);
if (gst_structure_has_name (s, "video/x-dirac")) {
GST_DEBUG_OBJECT (pad, "Creating Dirac stream");