Ticket #3260: mythdvd_fix_for_ticket_3260.diff
File mythdvd_fix_for_ticket_3260.diff, 561 bytes (added by , 18 years ago) |
---|
-
libs/libmythtv/avformatdecoder.cpp
1553 1553 { 1554 1554 if (tracks[kTrackTypeAudio].size() > 1) 1555 1555 { 1556 qBubbleSort(tracks[kTrackTypeAudio]);1557 1556 int trackNo = ringBuffer->DVD()->GetTrack(kTrackTypeAudio); 1558 1557 if (trackNo >= (int)GetTrackCount(kTrackTypeAudio)) 1559 1558 trackNo = GetTrackCount(kTrackTypeAudio) - 1;