]> granicus.if.org Git - libvpx/commitdiff
vpxdec: don't require -o with --noblit
authorJohn Koleszar <jkoleszar@google.com>
Wed, 27 Oct 2010 14:08:17 +0000 (10:08 -0400)
committerJohn Koleszar <jkoleszar@google.com>
Wed, 27 Oct 2010 17:00:30 +0000 (13:00 -0400)
Specifiying the output file is meaningless when we're not writing to
it.

Change-Id: I271e1d3ae1994d79f0773747477124600f98ca58

vpxdec.c

index 79b8c6292dc94d9c66cca9669deca55657bdb024..48a36cd65352bc6d48aa3c1b552d5d04296cfe62 100644 (file)
--- a/vpxdec.c
+++ b/vpxdec.c
@@ -813,7 +813,7 @@ int main(int argc, const char **argv_)
     }
 
     /* Make sure we don't dump to the terminal, unless forced to with -o - */
-    if(!outfile_pattern && isatty(fileno(stdout)) && !do_md5)
+    if(!outfile_pattern && isatty(fileno(stdout)) && !do_md5 && !noblit)
     {
         fprintf(stderr,
                 "Not dumping raw video to your terminal. Use '-o -' to "