Commit f69822bc authored by David Schleef's avatar David Schleef

Build fixes for OS X: (see #129600)

Original commit message from CVS:
Build fixes for OS X: (see #129600)
* gst-libs/gst/riff/riff-read.c: (gst_riff_read_strh),
(gst_riff_read_strf_vids), (gst_riff_read_strf_auds),
(gst_riff_read_strf_iavs):
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_avih),
(gst_avi_demux_stream_odml):
* gst/playondemand/Makefile.am:
* gst/rtp/rtp-packet.c:
parent d22b2484
2004-02-06 David Schleef <ds@schleef.org>
Build fixes for OS X: (see #129600)
* gst-libs/gst/riff/riff-read.c: (gst_riff_read_strh),
(gst_riff_read_strf_vids), (gst_riff_read_strf_auds),
(gst_riff_read_strf_iavs):
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_avih),
(gst_avi_demux_stream_odml):
* gst/playondemand/Makefile.am:
* gst/rtp/rtp-packet.c:
2004-02-05 David Schleef <ds@schleef.org> 2004-02-05 David Schleef <ds@schleef.org>
* ext/dv/gstdvdec.c: (gst_dvdec_init), (gst_dvdec_loop): Revert * ext/dv/gstdvdec.c: (gst_dvdec_init), (gst_dvdec_loop): Revert
......
...@@ -414,7 +414,7 @@ gst_riff_read_strh (GstRiffRead *riff, ...@@ -414,7 +414,7 @@ gst_riff_read_strh (GstRiffRead *riff,
} }
if (GST_BUFFER_SIZE (buf) < sizeof (gst_riff_strh)) { if (GST_BUFFER_SIZE (buf) < sizeof (gst_riff_strh)) {
g_warning ("Too small strh (%d available, %d needed)", g_warning ("Too small strh (%d available, %d needed)",
GST_BUFFER_SIZE (buf), sizeof (gst_riff_strh)); GST_BUFFER_SIZE (buf), (int) sizeof (gst_riff_strh));
gst_buffer_unref (buf); gst_buffer_unref (buf);
return FALSE; return FALSE;
} }
...@@ -484,7 +484,7 @@ gst_riff_read_strf_vids (GstRiffRead *riff, ...@@ -484,7 +484,7 @@ gst_riff_read_strf_vids (GstRiffRead *riff,
} }
if (GST_BUFFER_SIZE (buf) < sizeof (gst_riff_strf_vids)) { if (GST_BUFFER_SIZE (buf) < sizeof (gst_riff_strf_vids)) {
g_warning ("Too small strf_vids (%d available, %d needed)", g_warning ("Too small strf_vids (%d available, %d needed)",
GST_BUFFER_SIZE (buf), sizeof (gst_riff_strf_vids)); GST_BUFFER_SIZE (buf), (int) sizeof (gst_riff_strf_vids));
gst_buffer_unref (buf); gst_buffer_unref (buf);
return FALSE; return FALSE;
} }
...@@ -553,7 +553,7 @@ gst_riff_read_strf_auds (GstRiffRead *riff, ...@@ -553,7 +553,7 @@ gst_riff_read_strf_auds (GstRiffRead *riff,
} }
if (GST_BUFFER_SIZE (buf) < sizeof (gst_riff_strf_auds)) { if (GST_BUFFER_SIZE (buf) < sizeof (gst_riff_strf_auds)) {
g_warning ("Too small strf_auds (%d available, %d needed)", g_warning ("Too small strf_auds (%d available, %d needed)",
GST_BUFFER_SIZE (buf), sizeof (gst_riff_strf_auds)); GST_BUFFER_SIZE (buf), (int) sizeof (gst_riff_strf_auds));
gst_buffer_unref (buf); gst_buffer_unref (buf);
return FALSE; return FALSE;
} }
...@@ -604,7 +604,7 @@ gst_riff_read_strf_iavs (GstRiffRead *riff, ...@@ -604,7 +604,7 @@ gst_riff_read_strf_iavs (GstRiffRead *riff,
} }
if (GST_BUFFER_SIZE (buf) < sizeof (gst_riff_strf_iavs)) { if (GST_BUFFER_SIZE (buf) < sizeof (gst_riff_strf_iavs)) {
g_warning ("Too small strf_iavs (%d available, %d needed)", g_warning ("Too small strf_iavs (%d available, %d needed)",
GST_BUFFER_SIZE (buf), sizeof (gst_riff_strf_iavs)); GST_BUFFER_SIZE (buf), (int) sizeof (gst_riff_strf_iavs));
gst_buffer_unref (buf); gst_buffer_unref (buf);
return FALSE; return FALSE;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment