mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
Revert "tspacketizer: ensure that a null pointer isn't accessed"
This reverts commit 6efd611b8c
.
Also this extra check won't be needed if it's fixed the race by moving
flush actions to FLUSH_STOP.
This commit is contained in:
parent
80dd130fb0
commit
996da425a9
1 changed files with 0 additions and 1 deletions
|
@ -2624,7 +2624,6 @@ mpegts_packetizer_next_packet (MpegTSPacketizer2 * packetizer,
|
|||
priv->mapped =
|
||||
(guint8 *) gst_adapter_map (packetizer->adapter, priv->mapped_size);
|
||||
priv->offset = 0;
|
||||
g_return_val_if_fail (priv->mapped, PACKET_NEED_MORE);
|
||||
}
|
||||
packet->data_start = priv->mapped + priv->offset;
|
||||
|
||||
|
|
Loading…
Reference in a new issue