[vlc-commits] libmpeg2: unused variable

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


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

libmpeg2: unused variable

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

 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