utils: avoid unexpected side-effects of GST_WRITE_* macros
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 19 Feb 2013 18:00:48 +0000 (18:00 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 19 Feb 2013 18:00:48 +0000 (18:00 +0000)
commit0cbe23995f66d0cf9c50941ead0e40c469e09942
treece6d19f92b8a9fe7f5d9d510fbb50a1b0a48bf21
parent22b7c0bf584ee06f880aa968dfdc06e9559262ee
utils: avoid unexpected side-effects of GST_WRITE_* macros

Make sure the data argument is only evaluated once.
gst/gstutils.h
tests/check/gst/gstutils.c