Project: RealPlayer for Arm

Synopsis: Fix for bug 9206: RM clip (RV8, RA8 ATRAC) crashes RealPlayer for 
Netbook on ARM.

Overview: For Rm files we are getting undefined symbol error for MulDiv64 in 
hxmedplyeng.so.
After below patch this issue is fixed.

Files Modified:
/cvsroot/audio/fixptutil/pub/math64.h

 Image Size and Heap Use impact (Client -Only):
 None.

 Platforms and Profiles Affected:
 Linux

Distribution Libraries Affected:
 None.

 Distribution library impact and planned action:
 None.

Platforms and Profiles Build Verified:

Bif: realplay_gtk_atlas_restricted
Profile: helix-client-moblin
Target: player_all

 Branch:
 Atlas310

Index: audio/fixptutil/pub/math64.h
===================================================================
RCS file: /cvsroot/audio/fixptutil/pub/math64.h,v
retrieving revision 1.32.2.1
diff -u -r1.32.2.1 math64.h
--- audio/fixptutil/pub/math64.h 8 Feb 2008 07:39:15 -0000 1.32.2.1
+++ audio/fixptutil/pub/math64.h 6 Apr 2009 02:58:56 -0000
@@ -505,7 +505,11 @@
 #endif
 
 /* Compute a * b / c, using 64-bit intermediate result */
-extern int MulDiv64(int a, int b, int c);
+static __inline int MulDiv64(int a, int b, int c)
+{
+  long long t = (long long)a * (long long)b ;
+  return (int)(t / c) ;
+}
 
 #ifdef __cplusplus
 }

Thanks & Regards
Sushant Garg 
_______________________________________________
Audio-dev mailing list
[email protected]
http://lists.helixcommunity.org/mailman/listinfo/audio-dev

Reply via email to