rtcpbuffer: fix function guards with side effects
authorTim-Philipp Müller <tim@centricular.com>
Sun, 30 Dec 2018 17:26:04 +0000 (17:26 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Sun, 30 Dec 2018 17:28:38 +0000 (17:28 +0000)
commit44b18ea2b6f3d30683affa4d4cac2c1616f5a31b
treec61699326bea8103808e9cd66bf9cb65d58e2fcb
parent56688ce0789e54da414f65c7f13366133d6e9f71
rtcpbuffer: fix function guards with side effects

Code in g_return_*() must not have side effects, as it
might be compiled out if -DG_DISABLE_CHECKS is used, in
which case we would read garbage off the stack.
gst-libs/gst/rtp/gstrtcpbuffer.c