rtpsbcdepay: Fix potential NULL pointer dereference

CID 1418864
This commit is contained in:
Sebastian Dröge 2017-10-07 14:06:38 +03:00
parent 7d80fa4bbf
commit 263494f9c7

View file

@ -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,