[FFmpeg-devel] [PATCH 1/4] lavd/avfoundation: Remove useless index increment.
Thilo Borgmann
thilo.borgmann at mail.de
Sun Jun 30 15:14:04 EEST 2019
including patch...
-------------- next part --------------
From 4b85b80cdbf3c5e041eab3b5d1171c0ff3f913ad Mon Sep 17 00:00:00 2001
From: Thilo Borgmann <thilo.borgmann at mail.de>
Date: Sun, 30 Jun 2019 13:56:08 +0200
Subject: [PATCH 1/4] lavd/avfoundation: Remove useless index increment.
---
libavdevice/avfoundation.m | 1 -
1 file changed, 1 deletion(-)
diff --git a/libavdevice/avfoundation.m b/libavdevice/avfoundation.m
index 98552ac..88fe050 100644
--- a/libavdevice/avfoundation.m
+++ b/libavdevice/avfoundation.m
@@ -690,7 +690,6 @@ static int avf_read_header(AVFormatContext *s)
const char *name = [[device localizedName] UTF8String];
index = [devices indexOfObject:device];
av_log(ctx, AV_LOG_INFO, "[%d] %s\n", index, name);
- index++;
}
#if !TARGET_OS_IPHONE && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1070
if (num_screens > 0) {
--
1.8.3.2
More information about the ffmpeg-devel
mailing list