projects
/
profile
/
ivi
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5329189
)
vpxenc: warn against webm output to pipes
author
John Koleszar
<jkoleszar@google.com>
Fri, 22 Oct 2010 18:57:02 +0000
(14:57 -0400)
committer
John Koleszar
<jkoleszar@google.com>
Tue, 26 Oct 2010 02:35:22 +0000
(22:35 -0400)
The WebM writer requires a seekable stream.
Change-Id: I192e00706a0685362d41b8d2faf80add63d564b9
vpxenc.c
patch
|
blob
|
history
diff --git
a/vpxenc.c
b/vpxenc.c
index
4eecdcd
..
a178782
100644
(file)
--- a/
vpxenc.c
+++ b/
vpxenc.c
@@
-1349,6
+1349,12
@@
int main(int argc, const char **argv_)
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))