mirror of https://git.ffmpeg.org/ffmpeg.git
avdevice/avfoundation: Fix occured typo
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
794e9fb5a6
commit
63167a6ba3
|
@ -408,7 +408,7 @@ static int add_video_device(AVFormatContext *s, AVCaptureDevice *video_device)
|
||||||
}
|
}
|
||||||
} @catch (NSException *exception) {
|
} @catch (NSException *exception) {
|
||||||
if (![[exception name] isEqualToString:NSUndefinedKeyException]) {
|
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;
|
return AVERROR_EXTERNAL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue