From 0d6d0cf9533be6dbfd70b8e2e20c6de49956ade4 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 23 Dec 2004 20:13:59 +0000 Subject: [PATCH] fopen "r" -> "rb" Originally committed as revision 3772 to svn://svn.ffmpeg.org/ffmpeg/trunk --- tests/tiny_psnr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/tiny_psnr.c b/tests/tiny_psnr.c index be129fa2d5..996f040496 100644 --- a/tests/tiny_psnr.c +++ b/tests/tiny_psnr.c @@ -106,8 +106,8 @@ int main(int argc,char* argv[]){ return -1; } - f[0]= fopen(argv[1], "r"); - f[1]= fopen(argv[2], "r"); + f[0]= fopen(argv[1], "rb"); + f[1]= fopen(argv[2], "rb"); for(i=0;;){ if( fread(buf[0], SIZE, 1, f[0]) != 1) break;