shithub: libvpx

Download patch

ref: 24c86055c386a90158cc24cbaed2f72773120acb
parent: 3427e1dd431f7450c141a8560a37b0b615e8059f
author: John Koleszar <jkoleszar@google.com>
date: Wed Oct 27 06:08:17 EDT 2010

vpxdec: don't require -o with --noblit

Specifiying the output file is meaningless when we're not writing to
it.

Change-Id: I271e1d3ae1994d79f0773747477124600f98ca58

--- a/vpxdec.c
+++ b/vpxdec.c
@@ -813,7 +813,7 @@
     }
 
     /* 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 "