diff --git a/ChangeLog b/ChangeLog index 8e22acc560..432207a3be 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2004-07-25 Sebastien Cote + + reviewed by Benjamin Otte + + * ext/mad/gstmad.c: + fix mad plugin crashing on Sun (fixes #148289) + 2004-07-25 Steve Lhomme * gst/avi/avi.def: * gst/avi/avi.vcproj: diff --git a/ext/mad/gstmad.c b/ext/mad/gstmad.c index 1fd263eed2..43d05445b4 100644 --- a/ext/mad/gstmad.c +++ b/ext/mad/gstmad.c @@ -982,7 +982,7 @@ gst_mad_check_restart (GstMad * mad) * This code has been kindly relicensed to LGPL by Thibaut Mattern and * Bastien Nocera */ -#define BE_32(x) GINT32_FROM_BE(*(gint*)(x)) +#define BE_32(x) GST_READ_UINT32_BE(x) #define FOURCC_TAG( ch0, ch1, ch2, ch3 ) \ ( (long)(unsigned char)(ch3) | \