Browse Source

lavf/allformats: remove left-over index decrement

Signed-off-by: Josh de Kock <josh@itanimul.li>
tags/n4.0
Josh de Kock 7 years ago
parent
commit
db85d657fa
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/allformats.c

+ 1
- 1
libavformat/allformats.c View File

@@ -494,7 +494,7 @@ const AVOutputFormat *av_muxer_iterate(void **opaque)
uintptr_t i = (uintptr_t)*opaque;
const AVOutputFormat *f = NULL;

if (i < size - 1) {
if (i < size) {
f = muxer_list[i];
} else if (indev_list) {
f = outdev_list[i - size];


Loading…
Cancel
Save