diff options
author | Diego Biurrun <diego@biurrun.de> | 2015-12-06 13:04:05 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-11-13 19:06:38 +0100 |
commit | 01348e411f962f5e4605d649fc9a47a54587ba8e (patch) | |
tree | 9d9a80b7c4057921102282afd9ec9f90a21bc735 /avconv_opt.c | |
parent | 800d91d348c89fc8ca3fbec7696ab1ec8787acc6 (diff) | |
download | ffmpeg-01348e411f962f5e4605d649fc9a47a54587ba8e.tar.gz |
avconv_opt: Consistently iterate through hwaccels array in all cases
avconv_opt.c:188:19: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
Diffstat (limited to 'avconv_opt.c')
-rw-r--r-- | avconv_opt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avconv_opt.c b/avconv_opt.c index 1064cf4668..4d7140dc46 100644 --- a/avconv_opt.c +++ b/avconv_opt.c @@ -190,7 +190,7 @@ static int show_hwaccels(void *optctx, const char *opt, const char *arg) int i; printf("Supported hardware acceleration:\n"); - for (i = 0; i < FF_ARRAY_ELEMS(hwaccels) - 1; i++) { + for (i = 0; hwaccels[i].name; i++) { printf("%s\n", hwaccels[i].name); } printf("\n"); |