Commit f6492476 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

Fix ffmpeg -codecs output.

parent 545e8879
...@@ -804,7 +804,7 @@ int opt_codecs(const char *opt, const char *arg) ...@@ -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;
} }
......
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