[vlc-devel] commit: video_output: really fix use of uninitialized value. ( Rémi Duraffort )
git version control
git at videolan.org
Tue Nov 10 22:02:03 CET 2009
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Tue Nov 10 21:58:47 2009 +0100| [e4a026f1e2ae2e31d4c89e2690e0476771e68fc8] | committer: Rémi Duraffort
video_output: really fix use of uninitialized value.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e4a026f1e2ae2e31d4c89e2690e0476771e68fc8
---
src/video_output/video_output.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index 0a0e97b..a50d20f 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -2058,7 +2058,6 @@ static void DeinterlaceEnable( vout_thread_t *p_vout )
}
/* */
- bool is_needed;
if( i_deinterlace == -2 )
p_vout->p->b_picture_interlaced = true;
else if( i_deinterlace == -3 )
@@ -2066,8 +2065,6 @@ static void DeinterlaceEnable( vout_thread_t *p_vout )
if( i_deinterlace < 0 )
i_deinterlace = -1;
- p_vout->p->b_picture_interlaced = is_needed;
-
/* */
val.psz_string = psz_deinterlace ? psz_deinterlace : p_optm->orig.psz;
var_Change( p_vout, "deinterlace-mode", VLC_VAR_SETVALUE, &val, NULL );
More information about the vlc-devel
mailing list