mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
- Don't use non-portable LL suffix on constants, since MSVC doesn't allow them. These constants all fit into ints any...
Original commit message from CVS: - Don't use non-portable LL suffix on constants, since MSVC doesn't allow them. These constants all fit into ints anyway. - Continue to hate nano.
This commit is contained in:
parent
43bc15fa94
commit
bd3cff086d
3 changed files with 10 additions and 3 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2005-10-13 Michael Smith <msmith@fluendo.com>
|
||||||
|
|
||||||
|
* ext/ogg/gstoggmux.c:
|
||||||
|
* gst/audioconvert/audioconvert.c: (float):
|
||||||
|
Don't use LL suffix, as it's not portable, and neither of these
|
||||||
|
uses required it anyway.
|
||||||
|
|
||||||
2005-10-12 Stefan Kost <ensonic@users.sf.net>
|
2005-10-12 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
* examples/indexing/indexmpeg.c: (main):
|
* examples/indexing/indexmpeg.c: (main):
|
||||||
|
|
|
@ -131,8 +131,8 @@ enum
|
||||||
};
|
};
|
||||||
|
|
||||||
/* set to 0.5 seconds by default */
|
/* set to 0.5 seconds by default */
|
||||||
#define DEFAULT_MAX_DELAY 500000000LL
|
#define DEFAULT_MAX_DELAY 500000000
|
||||||
#define DEFAULT_MAX_PAGE_DELAY 500000000LL
|
#define DEFAULT_MAX_PAGE_DELAY 500000000
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
ARG_0,
|
ARG_0,
|
||||||
|
|
|
@ -62,7 +62,7 @@ MAKE_UNPACK_FUNC_NAME (float) (gpointer src, gint32 * dst,
|
||||||
|
|
||||||
for (; count; count--) {
|
for (; count; count--) {
|
||||||
temp = *p++ * 2147483647.0f + .5;
|
temp = *p++ * 2147483647.0f + .5;
|
||||||
*dst++ = (gint32) CLAMP (temp, -2147483648ll, 2147483647ll);
|
*dst++ = (gint32) CLAMP (temp, G_MININT, G_MAXINT);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue