utils: Don't use G_GNUC_CONST for the uint64 scaling functions
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 28 Jun 2010 08:20:39 +0000 (10:20 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 28 Jun 2010 08:20:39 +0000 (10:20 +0200)
commitc076eb6bb0037b759d81d8b10b0094c70b8712e0
tree6a8031f002996ab88e96be1a95723a87d8d68d75
parent484ab2a561178e4c1e93066b1ce343207e2e3d86
utils: Don't use G_GNUC_CONST for the uint64 scaling functions

They are actually *not* const functions because on architectures
without int128 instructions the parameters were changed.

gcc re-used the parameters on the stack for multiple calls though
and the changed parameters were used for the second call then.

Fixes bug #623003.
gst/gstutils.h