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)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 18 May 2011 13:25:24 +0000 (15:25 +0200)
commit9d322436711d6769d7ec7b0917a7b038e3591d7a
tree6f2a4b95d9e7c5ca558c9bb1eca269e375d174fa
parent23ecab67d62ab6627d460a704a6e147005cd0332
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