Changeset 59

Show
Ignore:
Timestamp:
07/30/07 22:45:14 (1 year ago)
Author:
gbooker
Message:

Patch by David Conrad to correct ppc passthrough (I was too lazy to test it myself yet).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/A52/ACShepA52Decoder.cpp

    r57 r59  
    591591                                { 
    592592                                        int offset = frameNumber * frameSize; 
    593                                         memcpy(&myOutputData[offset], input_data, 4); 
     593                                        memcpy(&myOutputData[offset], &input_data[i], 4); 
    594594                                } 
    595                                  
    596                                 memcpy(myOutputData, p_sync_be, 4); 
    597                                 myOutputData[4] = input_data[5] & 0x7; 
    598                                 myOutputData[6] = (bytes_to_read >> 4) & 0xff; 
    599                                 myOutputData[7] = (bytes_to_read << 4) & 0xff; 
    600                                 memcpy(&myOutputData[8], input_data, bytes_to_read); 
    601595                        }  
    602596                        else