summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Koleszar <jkoleszar@google.com>2010-10-27 10:08:17 -0400
committerJohn Koleszar <jkoleszar@google.com>2010-10-27 13:00:30 -0400
commit24c86055c386a90158cc24cbaed2f72773120acb (patch)
tree56186b78b6d7efc10dc7bc7187e43c35eac5b785
parent3427e1dd431f7450c141a8560a37b0b615e8059f (diff)
downloadlibvpx-24c86055c386a90158cc24cbaed2f72773120acb.tar
libvpx-24c86055c386a90158cc24cbaed2f72773120acb.tar.gz
libvpx-24c86055c386a90158cc24cbaed2f72773120acb.tar.bz2
libvpx-24c86055c386a90158cc24cbaed2f72773120acb.zip
vpxdec: don't require -o with --noblit
Specifiying the output file is meaningless when we're not writing to it. Change-Id: I271e1d3ae1994d79f0773747477124600f98ca58
-rw-r--r--vpxdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vpxdec.c b/vpxdec.c
index 79b8c6292..48a36cd65 100644
--- 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 "