[vlc-commits] libmpeg2: unused variable

Rémi Denis-Courmont git at videolan.org
Sun Aug 19 23:11:27 CEST 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Aug 20 00:09:00 2012 +0300| [dad3b9f410de96ff5a55b760e8eec0d0255dfd3e] | committer: Rémi Denis-Courmont

libmpeg2: unused variable

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dad3b9f410de96ff5a55b760e8eec0d0255dfd3e
---

 modules/codec/libmpeg2.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/codec/libmpeg2.c b/modules/codec/libmpeg2.c
index 5adff8f..d4a26f8 100644
--- a/modules/codec/libmpeg2.c
+++ b/modules/codec/libmpeg2.c
@@ -192,7 +192,6 @@ static int OpenDecoder( vlc_object_t *p_this )
     p_sys->i_gop_user_data = 0;
 
 #if defined( __i386__ ) || defined( __x86_64__ )
-    unsigned cpu = vlc_CPU();
     if( vlc_CPU_MMX() )
         i_accel |= MPEG2_ACCEL_X86_MMX;
     if( vlc_CPU_3dNOW() )



More information about the vlc-commits mailing list