rtp: Fix segmentation fault processing payload buffers
authorJose Antonio Santos Cadenas <santoscadenas@gmail.com>
Wed, 18 May 2011 10:36:40 +0000 (12:36 +0200)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 15 Jun 2011 20:08:41 +0000 (21:08 +0100)
commit1f6af8a8159383bea69bc5d839d891ddbaecf32a
treee4597997778888c7c48deacf9b68f6421250a29c
parente4f7411b5753051697b8be188464f41b5d64ce71
rtp: Fix segmentation fault processing payload buffers

This commit checks if the value returned by
gst_rtp_buffer_get_payload_buffer and
gst_rtp_buffer_get_payload_subbuffer is NULL before using it.
12 files changed:
gst/rtp/gstrtpac3depay.c
gst/rtp/gstrtpbvdepay.c
gst/rtp/gstrtpg722depay.c
gst/rtp/gstrtpg726depay.c
gst/rtp/gstrtpgsmdepay.c
gst/rtp/gstrtpilbcdepay.c
gst/rtp/gstrtpmp1sdepay.c
gst/rtp/gstrtpmp2tdepay.c
gst/rtp/gstrtpmpvdepay.c
gst/rtp/gstrtppcmadepay.c
gst/rtp/gstrtppcmudepay.c
gst/rtp/gstrtpspeexdepay.c