Signed-off-by: Josh de Kock <[email protected]>
---
libavformat/allformats.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/allformats.c b/libavformat/allformats.c
index 2a20548c95..cf430a9680 100644
--- a/libavformat/allformats.c
+++ b/libavformat/allformats.c
@@ -493,7 +493,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];
--
2.14.3 (Apple Git-98)
_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel