From: Michael Niedermayer Date: Mon, 30 Mar 2015 19:41:17 +0000 (+0200) Subject: avdevice/avfoundation: Fix occured typo X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;ds=sidebyside;h=63167a6ba3433b7edffe9bf7236a4f4a8f8dba9f;p=ffmpeg avdevice/avfoundation: Fix occured typo Signed-off-by: Michael Niedermayer --- diff --git a/libavdevice/avfoundation.m b/libavdevice/avfoundation.m index 5140ecbc0e3..763e675766d 100644 --- a/libavdevice/avfoundation.m +++ b/libavdevice/avfoundation.m @@ -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; } }