Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
No need for floating point operations here. avoids having to link
against the math library too.
+2007-12-10 Wim Taymans <wim.taymans@gmail.com>
+
+ * gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
+ No need for floating point operations here. avoids having to link
+ against the math library too.
+
2007-12-10 Tim-Philipp Müller <tim at centricular dot net>
* gst-libs/gst/pbutils/descriptions.c: (formats),
if (strf->size > 32) {
GST_WARNING ("invalid depth (%d) of pcm audio, overwriting.",
strf->size);
- strf->size = 8 * (guint) ceil (wd / 8.0);
+ strf->size = 8 * ((wd + 7) / 8);
}
/* in riff, the depth is stored in the size field but it just means that
* the _least_ significant bits are cleared. We can therefore just play