Add missing spaces after colons in error messages

Originally committed to SVN as r6568.
This commit is contained in:
Thomas Goyne 2012-03-11 23:51:10 +00:00
parent 175443d7a6
commit 30d7a18e97
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ PortAudioPlayer::PortAudioPlayer()
PaError err = Pa_Initialize();
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
// Some host APIs may not support all audio formats, so build a priority

View File

@ -242,7 +242,7 @@ const AegiVideoFrame FFmpegSourceVideoProvider::GetFrame(int n) {
// decode frame
const FFMS_Frame *SrcFrame = FFMS_GetFrame(VideoSource, FrameNumber, &ErrInfo);
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]);