aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-13 20:10:29 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-25 21:19:56 +0200
commit93a0dd8358eed390e344219834975d2732c819f2 (patch)
tree516e61556f55dc22b76d03903270b27034ea6741
parent12801f969bf5e62f13994afd22354fa6fc3e2cea (diff)
downloadffmpeg-93a0dd8358eed390e344219834975d2732c819f2.tar.gz
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>
-rw-r--r--tools/ffeval.c2
1 files changed, 1 insertions, 1 deletions
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);