diff --git a/tools/ld-discmap/discmap.cpp b/tools/ld-discmap/discmap.cpp index 4ff0d8ad1..7a3159d8e 100644 --- a/tools/ld-discmap/discmap.cpp +++ b/tools/ld-discmap/discmap.cpp @@ -735,7 +735,7 @@ qint32 DiscMap::getSecondFieldAudioDataLength(qint32 frameNumber) const qDebug() << "getSecondFieldAudioDataLength out of frameNumber range"; return false; } - return ldDecodeMetaData->getFieldPcmAudioLength(m_frames[frameNumber].firstField()); + return ldDecodeMetaData->getFieldPcmAudioLength(m_frames[frameNumber].secondField()); } // Save the target metadata from the disc map