opusenc: fix segmentation fault at x86 version
authorMarcos Kintschner <marcos.ktn@gmail.com>
Thu, 13 Sep 2018 23:34:08 +0000 (20:34 -0300)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 14 Sep 2018 00:00:02 +0000 (20:00 -0400)
commite05e8117e70244019649a24cf28619c8318b481a
tree1ad656c21bf1bf2b8c228d0657c5bb7b79a98a13
parent75f2532da784731190d44f118f01a12841ecb683
opusenc: fix segmentation fault at x86 version

The argument 0x0 is interpreted by the x86 compiler as a 32-bit int, but
it is consumed as a 64-bit uint causing a segmentation fault. We need to
explicit cast it to guint64 in order for the va_list to be built correctly.

https://bugzilla.gnome.org/show_bug.cgi?id=797092
ext/opus/gstopusenc.c