mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-03 16:09:39 +00:00
assert: g_assert_not_reached() cannot replace return statement
Fix build with assert being turned off.
This commit is contained in:
parent
64545310d4
commit
da70785dcd
2 changed files with 3 additions and 2 deletions
|
@ -1880,10 +1880,10 @@ gst_asf_demux_get_var_length (guint8 type, guint8 ** p_data, guint64 * p_size)
|
|||
return gst_asf_demux_get_uint32 (p_data, p_size);
|
||||
|
||||
default:
|
||||
g_assert_not_reached ();
|
||||
break;
|
||||
}
|
||||
|
||||
g_assert_not_reached ();
|
||||
return 0;
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
|
|
@ -356,4 +356,5 @@ gst_mpeg_packetize_read (GstMPEGPacketize * packetize, GstBuffer ** outbuf)
|
|||
}
|
||||
|
||||
g_assert_not_reached ();
|
||||
return GST_FLOW_ERROR;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue