[FFmpeg-cvslog] Fix ffmpeg -codecs output.

Carl Eugen Hoyos git at videolan.org
Fri Feb 17 23:55:48 CET 2012


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Fri Feb 17 23:51:22 2012 +0100| [f6492476a63938cc66c51bf61c88407b7749f780] | committer: Carl Eugen Hoyos

Fix ffmpeg -codecs output.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f6492476a63938cc66c51bf61c88407b7749f780
---

 cmdutils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cmdutils.c b/cmdutils.c
index 056849d..218c9f0 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -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;
             }



More information about the ffmpeg-cvslog mailing list