ffeval: avoid folding EOF onto a valid char

Fixes CID733704
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 225d3cc1ccd85bcda77e378f28aea6ab17ee4ba1)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-10-13 20:10:29 +02:00
parent 12801f969b
commit 93a0dd8358

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);