avdevice/avfoundation: Fix occured typo
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 30 Mar 2015 19:41:17 +0000 (21:41 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 30 Mar 2015 19:41:17 +0000 (21:41 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavdevice/avfoundation.m

index 5140ecb..763e675 100644 (file)
@@ -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;
         }
     }