Changeset 37

Show
Ignore:
Timestamp:
03/31/07 08:02:44 (2 years ago)
Author:
gbooker
Message:

Fix for incorrect AppendInputData? call with badly packetized data. Thanks David.
Closes #28

Files:

Legend:

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

    r36 r37  
    971971                                { 
    972972                                        UInt32 availableInFrame = packetSize - offset; 
    973                                         ACSimpleCodec::AppendInputBuffer(inInputData, offset, availableInFrame); 
     973                                        ACSimpleCodec::AppendInputBuffer(inInputData, inPacketDescription[packets].mStartOffset + offset, availableInFrame); 
    974974                                        remainingBytesFromLastFrame = frameSize - availableInFrame; 
    975975                                }