From 225d3cc1ccd85bcda77e378f28aea6ab17ee4ba1 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 13 Oct 2012 20:10:29 +0200 Subject: [PATCH] ffeval: avoid folding EOF onto a valid char Fixes CID733704 Signed-off-by: Michael Niedermayer --- tools/ffeval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ffeval.c b/tools/ffeval.c index 027cd48237..d7b736a0cf 100644 --- a/tools/ffeval.c +++ b/tools/ffeval.c @@ -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);