ref: fd354b2e1e4cc662af49d4f535c231c1d8760ef6
parent: 80e729f6018d9af2733bc45d91442391484a202b
parent: f92c0b16888dfcc07829dc18c779ec84f69ab5d8
author: Adrian Grange <agrange@google.com>
date: Mon Feb 2 03:11:14 EST 2015
Merge "Abort if firstpass file does not exist"
--- a/vpxstats.c
+++ b/vpxstats.c
@@ -41,6 +41,9 @@
stats->file = fopen(fpf, "rb");
+ if (stats->file == NULL)
+ fatal("First-pass stats file does not exist!");
+
if (fseek(stats->file, 0, SEEK_END))
fatal("First-pass stats file must be seekable!");
--
⑨