summaryrefslogtreecommitdiffstats
path: root/libavdevice
diff options
context:
space:
mode:
authorThilo Borgmann <thilo.borgmann@mail.de>2019-06-30 13:56:08 +0200
committerThilo Borgmann <thilo.borgmann@mail.de>2019-07-08 20:02:41 +0200
commit48cf952411527c8c91f7d9c87003258ae80c6c56 (patch)
tree9589c04ef51b6c0aafc50f9f5742426642e85e4d /libavdevice
parent43160c7bc476643e3bc0c3a3f045d2c248a25bd2 (diff)
downloadffmpeg-streaming-48cf952411527c8c91f7d9c87003258ae80c6c56.zip
ffmpeg-streaming-48cf952411527c8c91f7d9c87003258ae80c6c56.tar.gz
lavd/avfoundation: Remove useless index increment.
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/avfoundation.m1
1 files changed, 0 insertions, 1 deletions
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) {
OpenPOWER on IntegriCloud