diff --git a/gst/rtp/gstrtph264depay.c b/gst/rtp/gstrtph264depay.c index c63087e07b..915c9fdf11 100644 --- a/gst/rtp/gstrtph264depay.c +++ b/gst/rtp/gstrtph264depay.c @@ -542,6 +542,9 @@ gst_rtp_h264_depay_process (GstBaseRTPDepayload * depayload, GstBuffer * buf) GST_DEBUG_OBJECT (rtph264depay, "receiving %d bytes", payload_len); + if (payload_len == 0) + return NULL; + /* +---------------+ * |0|1|2|3|4|5|6|7| * +-+-+-+-+-+-+-+-+