mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
tsdemux: remove unnecessary check
This is not public API, use g_assert() instead of g_return_if_fail(), so that it's compiled out in releases. It's only called from our code, with &foo.
This commit is contained in:
parent
eeaf4d11b7
commit
f0358aac16
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ mpegts_parse_pes_header (const guint8 * data, gsize length, PESHeader * res)
|
|||
guint32 val32;
|
||||
guint8 val8, flags;
|
||||
|
||||
g_return_val_if_fail (res != NULL, PES_PARSING_BAD);
|
||||
g_assert (res != NULL);
|
||||
|
||||
/* The smallest valid PES header is 6 bytes (prefix + stream_id + length) */
|
||||
if (G_UNLIKELY (length < 6))
|
||||
|
|
Loading…
Reference in a new issue