Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 121486 Details for
Bug 181288
media-sound/lastfmplayer-1.1.3-r2 - endian problem causes wrong playback on big endian based systems
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
lastfm_mp3transcode.diff
lastfm_mp3transcode.diff (text/plain), 954 bytes, created by
Albert Zeyer
on 2007-06-08 10:24:19 UTC
(
hide
)
Description:
lastfm_mp3transcode.diff
Filename:
MIME Type:
Creator:
Albert Zeyer
Created:
2007-06-08 10:24:19 UTC
Size:
954 bytes
patch
obsolete
>--- src/mp3transcode/mp3transcode.cpp.old 2007-06-08 11:20:49.000000000 +0200 >+++ src/mp3transcode/mp3transcode.cpp 2007-06-08 11:58:05.000000000 +0200 >@@ -19,6 +19,7 @@ > * 51 Franklin Steet, Fifth Floor, Boston, MA 02111-1307, USA. * > ***************************************************************************/ > >+#include <qconfig.h> // for Q_BYTE_ORDER > #include <QtGui> > > #include "mp3transcode.h" >@@ -64,8 +65,13 @@ > { > for ( int i = 0; i < ( size / 2 ); i++ ) > { >+#if Q_BYTE_ORDER == Q_LITTLE_ENDIAN > outputBuffer.append( tempBuffer[i * 2] ); > outputBuffer.append( tempBuffer[i * 2 + 1] ); >+#else // Q_BIG_ENDIAN >+ outputBuffer.append( tempBuffer[i * 2 + 1] ); >+ outputBuffer.append( tempBuffer[i * 2] ); >+#endif // Q_BYTE_ORDER > } > > result = decodeMP3( &mpeg, NULL, 0, tempBuffer, sizeof( tempBuffer ), &size );
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 181288
: 121486