mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
build on gcc 2.95
Original commit message from CVS: build on gcc 2.95
This commit is contained in:
parent
ff81abd2bf
commit
4897f53640
2 changed files with 2 additions and 2 deletions
|
@ -148,6 +148,7 @@ static guint8 UIDENTITY(guint8 x) { return x; };
|
|||
static gint8 IDENTITY(gint8 x) { return x; };
|
||||
#define POPULATE(format, be_func, le_func) {\
|
||||
format val = (format) int_value;\
|
||||
format *p = data;\
|
||||
switch (src->endianness) {\
|
||||
case G_LITTLE_ENDIAN:\
|
||||
val = le_func (val);\
|
||||
|
@ -158,7 +159,6 @@ static gint8 IDENTITY(gint8 x) { return x; };
|
|||
default: \
|
||||
g_assert_not_reached ();\
|
||||
};\
|
||||
format *p = data;\
|
||||
for (j = 0; j < src->channels; j++) {\
|
||||
*p = val;\
|
||||
p ++;\
|
||||
|
|
|
@ -148,6 +148,7 @@ static guint8 UIDENTITY(guint8 x) { return x; };
|
|||
static gint8 IDENTITY(gint8 x) { return x; };
|
||||
#define POPULATE(format, be_func, le_func) {\
|
||||
format val = (format) int_value;\
|
||||
format *p = data;\
|
||||
switch (src->endianness) {\
|
||||
case G_LITTLE_ENDIAN:\
|
||||
val = le_func (val);\
|
||||
|
@ -158,7 +159,6 @@ static gint8 IDENTITY(gint8 x) { return x; };
|
|||
default: \
|
||||
g_assert_not_reached ();\
|
||||
};\
|
||||
format *p = data;\
|
||||
for (j = 0; j < src->channels; j++) {\
|
||||
*p = val;\
|
||||
p ++;\
|
||||
|
|
Loading…
Reference in a new issue