Commit 48cf9524 authored by Thilo Borgmann's avatar Thilo Borgmann

lavd/avfoundation: Remove useless index increment.

parent 43160c7b
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment