Fix ffmpeg -codecs output.

pull/3/merge
Carl Eugen Hoyos 13 years ago
parent 545e887902
commit f6492476a6
  1. 2
      cmdutils.c

@ -804,7 +804,7 @@ int opt_codecs(const char *opt, const char *arg)
if (p2 && strcmp(p->name, p2->name) == 0) { if (p2 && strcmp(p->name, p2->name) == 0) {
if (p->decode) if (p->decode)
decode = 1; decode = 1;
if (p->encode) if (p->encode || p->encode2)
encode = 1; encode = 1;
cap |= p->capabilities; cap |= p->capabilities;
} }

Loading…
Cancel
Save