[vlc-devel] commit: Removed debug code (effectly enable swscale). (Laurent Aimar )

git version control git at videolan.org
Sun Jul 27 16:42:30 CEST 2008


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Jul 27 16:44:42 2008 +0200| [07d2543c47774cce555a833439cd030cb95440d3]

Removed debug code (effectly enable swscale).

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

 modules/video_filter/swscale.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/video_filter/swscale.c b/modules/video_filter/swscale.c
index 341cdcd..f52f927 100644
--- a/modules/video_filter/swscale.c
+++ b/modules/video_filter/swscale.c
@@ -252,7 +252,7 @@ static int GetParameters( int *pi_fmti, int *pi_fmto, bool *pb_has_a, int *pi_sw
     bool b_has_a = false;
     int i_sws_flags = i_sws_flags_default;
 
-    if( p_fmti->i_chroma == p_fmto->i_chroma &&  0 )
+    if( p_fmti->i_chroma == p_fmto->i_chroma )
     {
         if( p_fmti->i_chroma == VLC_FOURCC( 'Y', 'U', 'V', 'P' ) && ALLOW_YUVP )
         {




More information about the vlc-devel mailing list