diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-12-23 20:13:59 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-12-23 20:13:59 +0000 |
commit | 0d6d0cf9533be6dbfd70b8e2e20c6de49956ade4 (patch) | |
tree | 1e339e6769e26ad4f3f1e3f037c64e74c171f646 /tests | |
parent | 6c55fd796838192332a5840e62dbc7c0ab22fe7e (diff) | |
download | ffmpeg-streaming-0d6d0cf9533be6dbfd70b8e2e20c6de49956ade4.zip ffmpeg-streaming-0d6d0cf9533be6dbfd70b8e2e20c6de49956ade4.tar.gz |
fopen "r" -> "rb"
Originally committed as revision 3772 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tiny_psnr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tiny_psnr.c b/tests/tiny_psnr.c index be129fa..996f040 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; |