mirror of https://git.ffmpeg.org/ffmpeg.git
lavd/avfoundation: Remove useless index increment.
This commit is contained in:
parent
43160c7bc4
commit
48cf952411
|
@ -690,7 +690,6 @@ static int avf_read_header(AVFormatContext *s)
|
||||||
const char *name = [[device localizedName] UTF8String];
|
const char *name = [[device localizedName] UTF8String];
|
||||||
index = [devices indexOfObject:device];
|
index = [devices indexOfObject:device];
|
||||||
av_log(ctx, AV_LOG_INFO, "[%d] %s\n", index, name);
|
av_log(ctx, AV_LOG_INFO, "[%d] %s\n", index, name);
|
||||||
index++;
|
|
||||||
}
|
}
|
||||||
#if !TARGET_OS_IPHONE && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1070
|
#if !TARGET_OS_IPHONE && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1070
|
||||||
if (num_screens > 0) {
|
if (num_screens > 0) {
|
||||||
|
|
Loading…
Reference in New Issue