From 63167a6ba3433b7edffe9bf7236a4f4a8f8dba9f Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 30 Mar 2015 21:41:17 +0200 Subject: [PATCH] avdevice/avfoundation: Fix occured typo Signed-off-by: Michael Niedermayer --- libavdevice/avfoundation.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.39.2