Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThilo Borgmann <thilo.borgmann@mail.de>2014-09-23 18:49:16 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-09-26 07:05:31 +0400
commit1ea7a3e04e42f686b53704193e60d0745681a959 (patch)
tree3422db5afba06f6e085679d029d5415d9987b2ee /libavdevice/avfoundation.m
parent92827e186999fe0011c9cf440758d5532b90c31f (diff)
lavd/avfoundation: Simplify debug message generation.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavdevice/avfoundation.m')
-rw-r--r--libavdevice/avfoundation.m3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavdevice/avfoundation.m b/libavdevice/avfoundation.m
index 207d5c9531..5b1e694947 100644
--- a/libavdevice/avfoundation.m
+++ b/libavdevice/avfoundation.m
@@ -384,8 +384,7 @@ static int avf_read_header(AVFormatContext *s)
}
}
- NSString* dev_display_name = [video_device localizedName];
- av_log(s, AV_LOG_DEBUG, "'%s' opened\n", [dev_display_name UTF8String]);
+ av_log(s, AV_LOG_DEBUG, "'%s' opened\n", [[video_device localizedName] UTF8String]);
// Initialize capture session
ctx->capture_session = [[AVCaptureSession alloc] init];