[SCM] libav/experimental: Check function prototype in check_asm function to avoid compiler warnings. patch by Marc Mason, mpeg.blue free fr

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:33:39 UTC 2013


The following commit has been merged in the experimental branch:
commit 124c21d79f2124d028890022e98ea853a834a964
Author: Marc Mason <mpeg.blue at free.fr>
Date:   Wed Dec 17 15:44:40 2008 +0000

    Check function prototype in check_asm function to avoid compiler warnings.
    patch by Marc Mason, mpeg.blue free fr
    
    Originally committed as revision 16188 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/configure b/configure
index 9f1f0f6..4d23c9c 100755
--- a/configure
+++ b/configure
@@ -512,7 +512,7 @@ check_asm(){
     asm="$2"
     shift 2
     check_cc "$@" <<EOF && enable $name || disable $name
-int foo(void){ __asm__ volatile($asm); }
+void foo(void){ __asm__ volatile($asm); }
 EOF
 }
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list