[SCM] libav/experimental: fopen "r" -> "rb"

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:42:28 UTC 2013


The following commit has been merged in the experimental branch:
commit 0d6d0cf9533be6dbfd70b8e2e20c6de49956ade4
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Thu Dec 23 20:13:59 2004 +0000

    fopen "r" -> "rb"
    
    Originally committed as revision 3772 to svn://svn.ffmpeg.org/ffmpeg/trunk

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;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list