Commit 63167a6b authored by Michael Niedermayer's avatar Michael Niedermayer

avdevice/avfoundation: Fix occured typo

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 794e9fb5
......@@ -408,7 +408,7 @@ static int add_video_device(AVFormatContext *s, AVCaptureDevice *video_device)
}
} @catch (NSException *exception) {
if (![[exception name] isEqualToString:NSUndefinedKeyException]) {
av_log (s, AV_LOG_ERROR, "An error occured: %s", [exception.reason UTF8String]);
av_log (s, AV_LOG_ERROR, "An error occurred: %s", [exception.reason UTF8String]);
return AVERROR_EXTERNAL;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment