mirror of https://github.com/odrling/Aegisub
Add missing spaces after colons in error messages
Originally committed to SVN as r6568.
This commit is contained in:
parent
175443d7a6
commit
30d7a18e97
|
@ -78,7 +78,7 @@ PortAudioPlayer::PortAudioPlayer()
|
||||||
PaError err = Pa_Initialize();
|
PaError err = Pa_Initialize();
|
||||||
|
|
||||||
if (err != paNoError)
|
if (err != paNoError)
|
||||||
throw PortAudioError(std::string("Failed opening PortAudio:") + Pa_GetErrorText(err), 0);
|
throw PortAudioError(std::string("Failed opening PortAudio: ") + Pa_GetErrorText(err), 0);
|
||||||
|
|
||||||
// Build a list of host API-specific devices we can use
|
// Build a list of host API-specific devices we can use
|
||||||
// Some host APIs may not support all audio formats, so build a priority
|
// Some host APIs may not support all audio formats, so build a priority
|
||||||
|
|
|
@ -242,7 +242,7 @@ const AegiVideoFrame FFmpegSourceVideoProvider::GetFrame(int n) {
|
||||||
// decode frame
|
// decode frame
|
||||||
const FFMS_Frame *SrcFrame = FFMS_GetFrame(VideoSource, FrameNumber, &ErrInfo);
|
const FFMS_Frame *SrcFrame = FFMS_GetFrame(VideoSource, FrameNumber, &ErrInfo);
|
||||||
if (SrcFrame == NULL) {
|
if (SrcFrame == NULL) {
|
||||||
throw VideoDecodeError(std::string("Failed to retrieve frame:") + ErrInfo.Buffer);
|
throw VideoDecodeError(std::string("Failed to retrieve frame: ") + ErrInfo.Buffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
CurFrame.SetTo(SrcFrame->Data[0], Width, Height, SrcFrame->Linesize[0]);
|
CurFrame.SetTo(SrcFrame->Data[0], Width, Height, SrcFrame->Linesize[0]);
|
||||||
|
|
Loading…
Reference in New Issue