Changeset 19


Ignore:
Timestamp:
09/16/06 16:39:53 (18 years ago)
Author:
zorg
Message:

Fix imported from rockbox svn

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/zorg/src/streaminfo.c

    r10 r19  
    235235    } else {
    236236#ifdef MPC_SUPPORT_SV456
     237#ifndef MPC_LITTLE_ENDIAN
     238        mpc_uint32_t ptr;
     239        for (ptr = 0; ptr < 8; ptr++) {
     240            HeaderData[ptr] = mpc_swap32(HeaderData[ptr]);
     241        }
     242#endif
    237243        // stream version 4-6
    238244        Error = streaminfo_read_header_sv6(si, HeaderData);
     245        if (Error != ERROR_CODE_OK) return Error;
    239246#else
    240247        return ERROR_CODE_INVALIDSV;
Note: See TracChangeset for help on using the changeset viewer.