ffmpeg | branch: master | Thilo Borgmann <thilo.borgm...@mail.de> | Sun Jun 30 
13:56:08 2019 +0200| [48cf952411527c8c91f7d9c87003258ae80c6c56] | committer: 
Thilo Borgmann

lavd/avfoundation: Remove useless index increment.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=48cf952411527c8c91f7d9c87003258ae80c6c56
---

 libavdevice/avfoundation.m | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavdevice/avfoundation.m b/libavdevice/avfoundation.m
index 98552ac29d..88fe050da9 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) {

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to