ffeval: avoid folding EOF onto a valid char

Fixes CID733704
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-10-13 20:10:29 +02:00
parent 80db07adfe
commit 225d3cc1cc
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ int main(int argc, char **argv)
FILE *outfile = NULL, *infile = NULL;
const char *prompt = "=> ";
int count = 0, echo = 0;
char c;
int c;
av_max_alloc(MAX_BLOCK_SIZE);