Original commit message from CVS:
* gst/avi/gstavimux.c: (gst_avi_mux_riff_get_avi_header):
Explicitly cast result of pointer arithmetic to integer in order to
avoid compiler warnings on some 64-bit systems. Should fix #406018.
+2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
+
+ * gst/avi/gstavimux.c: (gst_avi_mux_riff_get_avi_header):
+ Explicitly cast result of pointer arithmetic to integer in order to
+ avoid compiler warnings on some 64-bit systems. Should fix #406018.
+
2007-02-08 Tim-Philipp Müller <tim at centricular dot net>
* gst/debug/progressreport.c:
highmark += 24;
}
- GST_WRITE_UINT32_LE (hdrl_size, buffdata - hdrl_size - 4);
+ GST_WRITE_UINT32_LE (hdrl_size, (guint32) (buffdata - hdrl_size) - 4);
/* tags */
if (tags) {
/* finally we can fill in the RIFF size */
/* note that riff only counts the first avi chunk */
- GST_WRITE_UINT32_LE (riff_size, (buffdata - riff_size - 4) /* header and movi tags */
+ GST_WRITE_UINT32_LE (riff_size, (guint32) (buffdata - riff_size - 4) /* header and movi tags */
+avimux->idx_size + avimux->data_size - 4); /* movi data and index */
{ /* only the part that is filled in actually makes up the header