Original commit message from CVS:
* gst/matroska/ebml-read.c: (gst_ebml_read_sint):
Even better would be if we actually did the right thing
here (also, G_GUINT64_CONSTANT only exists since GLib-2.10).
+2006-04-09 Tim-Philipp Müller <tim at centricular dot net>
+
+ * gst/matroska/ebml-read.c: (gst_ebml_read_sint):
+ Even better would be if we actually did the right thing
+ here (also, G_GUINT64_CONSTANT only exists since GLib-2.10).
+
2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
* gst/matroska/ebml-read.c: (gst_ebml_read_sint):
/* make signed */
if (negative) {
- *num = *num - (G_GUINT64_CONSTANT (1) << ((8 * size) - 1));
+ *num = 0 - *num;
}
gst_buffer_unref (buf);