From 7ca413b44a83d71d879ca9a75be0c88cbe99189b Mon Sep 17 00:00:00 2001
From: Francisco Javier Cabello Torres <fjcabello@visual-tools.com>
Date: Tue, 26 Nov 2002 16:26:58 +0000
Subject: [PATCH] via c3 fix patch by (Francisco Javier Cabello Torres
 <fjcabello at visual-tools dot com>)

Originally committed as revision 1285 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/i386/cputest.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavcodec/i386/cputest.c b/libavcodec/i386/cputest.c
index f186d95c9db..b50d653c4d5 100644
--- a/libavcodec/i386/cputest.c
+++ b/libavcodec/i386/cputest.c
@@ -91,7 +91,8 @@ int mm_support(void)
 	if( edx & ( 1 << 23) )
 	  rval |= MM_MMX;
 	if( edx & ( 1 << 24) )
-	  rval |= MM_MMXEXT;	
+	  rval |= MM_MMXEXT;
+	return rval;
     } else if (ebx == 0x69727943 &&
                edx == 0x736e4978 &&
                ecx == 0x64616574) {
-- 
GitLab