The read from stdin in vpxenc and vpxdec doesn't work under
Windows because stdin is default in text mode, but it must be in binary mode.
You can fix this with the following lines:
infile = strcmp(in_fn, "-") ? fopen(in_fn, "rb") : stdin;
#ifdef WIN32
_setmode( _fileno( stdin ), _O_BINARY );
#endif
Original issue reported on code.google.com by m...@hesotech.de on 2 Nov 2010 at 10:29
Original issue reported on code.google.com by
m...@hesotech.de
on 2 Nov 2010 at 10:29