Commit 10eb3259 authored by James Almer's avatar James Almer

Merge commit '01348e41'

* commit '01348e41':
  avconv_opt: Consistently iterate through hwaccels array in all cases
Merged-by: 's avatarJames Almer <jamrial@gmail.com>
parents b725b482 01348e41
......@@ -185,7 +185,7 @@ static int show_hwaccels(void *optctx, const char *opt, const char *arg)
int i;
printf("Hardware acceleration methods:\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");
......
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