summaryrefslogtreecommitdiff
path: root/tools/ffeval.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-13 20:10:29 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-13 20:35:56 +0200
commit225d3cc1ccd85bcda77e378f28aea6ab17ee4ba1 (patch)
treedb8b4d2110ed58e5849c96dd8170d38610f885f1 /tools/ffeval.c
parent80db07adfe8a1ff716af51ca9aaf357280c8b363 (diff)
downloadffmpeg-225d3cc1ccd85bcda77e378f28aea6ab17ee4ba1.tar.gz
ffeval: avoid folding EOF onto a valid char
Fixes CID733704 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tools/ffeval.c')
-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);