mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-13 14:13:32 +02:00
Bug 2445 - Cryptic, unhelpful, error message when importing malformed MP3 file
This commit is contained in:
@@ -1097,7 +1097,7 @@ enum mad_flow MP3ImportFileHandle::ErrorCB(struct mad_stream *stream,
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Let the user know about the error
|
// Let the user know about the error
|
||||||
AudacityMessageBox(XO("Import failed\n\nThis is likely caused by an malformed MP3.\n\n"));
|
AudacityMessageBox(XO("Import failed\n\nThis is likely caused by a malformed MP3.\n\n"));
|
||||||
|
|
||||||
return MAD_FLOW_BREAK;
|
return MAD_FLOW_BREAK;
|
||||||
}
|
}
|
||||||
|
@@ -441,7 +441,7 @@ SelectHandle::SelectHandle
|
|||||||
auto pTrack = pTrackView->FindTrack();
|
auto pTrack = pTrackView->FindTrack();
|
||||||
mSnapStart = mSnapManager->Snap(pTrack.get(), time, false);
|
mSnapStart = mSnapManager->Snap(pTrack.get(), time, false);
|
||||||
if (mSnapStart.snappedPoint)
|
if (mSnapStart.snappedPoint)
|
||||||
mSnapStart.outCoord += mRect.x;
|
mSnapStart.outCoord += mRect.x;
|
||||||
else
|
else
|
||||||
mSnapStart.outCoord = -1;
|
mSnapStart.outCoord = -1;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user