[FFmpeg-cvslog] ffeval: avoid folding EOF onto a valid char

Michael Niedermayer git at videolan.org
Sat Oct 13 20:47:04 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Oct 13 20:10:29 2012 +0200| [225d3cc1ccd85bcda77e378f28aea6ab17ee4ba1] | committer: Michael Niedermayer

ffeval: avoid folding EOF onto a valid char

Fixes CID733704
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=225d3cc1ccd85bcda77e378f28aea6ab17ee4ba1
---

 tools/ffeval.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/ffeval.c b/tools/ffeval.c
index 027cd48..d7b736a 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);
 



More information about the ffmpeg-cvslog mailing list