ref: 0a6bf29eb93d8ac6ade83071379b20700a7cd06d
parent: 5329189a331c6bfc8e8350f4706a5ff9add63147
author: John Koleszar <jkoleszar@google.com>
date: Fri Oct 22 10:57:02 EDT 2010
vpxenc: warn against webm output to pipes The WebM writer requires a seekable stream. Change-Id: I192e00706a0685362d41b8d2faf80add63d564b9
--- a/vpxenc.c
+++ b/vpxenc.c
@@ -1349,6 +1349,12 @@
return EXIT_FAILURE;
}
+ if(write_webm && fseek(outfile, 0, SEEK_CUR))
+ {
+ fprintf(stderr, "WebM output to pipes not supported.\n");
+ return EXIT_FAILURE;
+ }
+
if (stats_fn)
{
if (!stats_open_file(&stats, stats_fn, pass))