Skip to content

Commit

Permalink
Fixed field length bug that caused issue #701 (#712)
Browse files Browse the repository at this point in the history
  • Loading branch information
simoninns committed Mar 19, 2022
1 parent 7111672 commit a5bdfa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/ld-discmap/discmap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a5bdfa9

Please sign in to comment.