qtmux: do not add size to the pointer variable
authorThiago Sousa Santos <thiagoss@redmoon.(none)>
Mon, 16 Nov 2009 17:57:53 +0000 (14:57 -0300)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 12 Apr 2011 19:32:13 +0000 (20:32 +0100)
commit2f90d335096b362efbd84931295e6b0939947967
treebfc9b6f8af0eef48842b99ce4e8ab9df77aa3016
parent8d80e9351281ab7cc0decbaaed468af362cf7d56
qtmux: do not add size to the pointer variable

Do not wrongly add the result of the function to the
pointer to the buffer size. Instead, check the result
to see if the serialization was ok.

Based on a patch by: "Carsten Kroll <car@ximidi.com>"

Fixes #602106
gst/quicktime/atoms.c