decoder: fix mini object implementation on 64-bit systems.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 10 Jan 2013 09:12:25 +0000 (10:12 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 10 Jan 2013 09:14:42 +0000 (10:14 +0100)
commit591b637cfc85d526096469e6bf786effb810e20f
tree86758defb95546ebe0dc6703a9bbcdc05492af09
parent0ecb3a627bf5485cdb2be998fd78cdc07bf61a97
decoder: fix mini object implementation on 64-bit systems.

Use GPOINTER_TO_SIZE() instead of GPOINTER_TO_UINT() while manipulating
pointers. The latter is meant to be 32-bit only, not uintptr_t like size.
Only a gsize can hold all bits of a pointer.

Thanks to Ouping Zhang for spotting this error.
gst-libs/gst/vaapi/gstvaapiminiobject.c