Skip to content
Permalink
Browse files

fix problem where verify would not use wvc file if source was stdin (…

…Windows only)
  • Loading branch information...
dbry committed Nov 30, 2018
1 parent 6673775 commit e731cea83d52cccb4d3cde4f6503b22ba145de21
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/open_filename.c
@@ -247,7 +247,7 @@ WavpackContext *WavpackOpenFileInput (const char *infilename, char *error, int f
return NULL;
}

if (wv_id != stdin && (flags & OPEN_WVC)) {
if (*infilename != '-' && (flags & OPEN_WVC)) {
char *in2filename = malloc (strlen (infilename) + 10);

strcpy (in2filename, infilename);

0 comments on commit e731cea

Please sign in to comment.
You can’t perform that action at this time.