mpegts: Fix descriptor checks
authorEdward Hervey <bilboed@bilboed.com>
Mon, 24 Feb 2014 14:52:53 +0000 (15:52 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Tue, 25 Feb 2014 09:19:23 +0000 (10:19 +0100)
commit63145f4576ef9e910f8a4cbf9317c255a2729bca
tree01d41274f86e4cac6328113abe03dd9af24c420d
parentba0a3f65ebd27833d18ed5a504d3b6df1a22998f
mpegts: Fix descriptor checks

Only use g_return_val_if_fail on provided direct arguments. The others get
checked all the time.

https://bugzilla.gnome.org/show_bug.cgi?id=724464
gst-libs/gst/mpegts/gst-dvb-descriptor.c
gst-libs/gst/mpegts/gstmpegts-private.h
gst-libs/gst/mpegts/gstmpegtsdescriptor.c