Changeset 1019

Show
Ignore:
Timestamp:
10/20/07 21:51:32 (15 months ago)
Author:
stephen_booth
Message:

In Xing header written by LAME total frames is the total number of frames containing audio

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/Audio/Decoders/MPEGDecoder.m

    r1018 r1019  
    237237                // If the file contains a Xing header but not LAME gapless information, 
    238238                // decode the number of MPEG frames specified by the Xing header 
    239                 if(_foundXingHeader && NO == _foundLAMEHeader && _mpegFramesDecoded == _totalMPEGFrames) 
     239                if(_foundXingHeader && NO == _foundLAMEHeader && 1 + _mpegFramesDecoded == _totalMPEGFrames) 
    240240                        break; 
    241241