From 263494f9c74ab59ddb69beeaf8ea6cdfd0de1a48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 7 Oct 2017 14:06:38 +0300 Subject: [PATCH] rtpsbcdepay: Fix potential NULL pointer dereference CID 1418864 --- gst/rtp/gstrtpsbcdepay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/rtp/gstrtpsbcdepay.c b/gst/rtp/gstrtpsbcdepay.c index cd49c9f91d..9549bb06a2 100644 --- a/gst/rtp/gstrtpsbcdepay.c +++ b/gst/rtp/gstrtpsbcdepay.c @@ -366,7 +366,7 @@ gst_rtp_sbc_depay_process (GstRTPBaseDepayload * base, GstRTPBuffer * rtp) } } - if (depay->ignore_timestamps) { + if (depay->ignore_timestamps && data) { GstClockTime duration; gst_audio_stream_align_process (depay->stream_align,