1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Fix ffmpeg -codecs output.

This commit is contained in:
Carl Eugen Hoyos 2012-02-17 23:51:22 +01:00
parent 545e887902
commit f6492476a6

View File

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