[vlc-commits] deinterlace: fix segmentation fault (fixes #9916)
Rémi Denis-Courmont
git at videolan.org
Mon Dec 2 17:04:48 CET 2013
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Dec 2 18:04:19 2013 +0200| [9594f247286f36a45b81ba7cbd7273858e9f07ed] | committer: Rémi Denis-Courmont
deinterlace: fix segmentation fault (fixes #9916)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9594f247286f36a45b81ba7cbd7273858e9f07ed
---
modules/video_filter/deinterlace/deinterlace.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/video_filter/deinterlace/deinterlace.c b/modules/video_filter/deinterlace/deinterlace.c
index f7d5f64..e6a0b0f 100644
--- a/modules/video_filter/deinterlace/deinterlace.c
+++ b/modules/video_filter/deinterlace/deinterlace.c
@@ -642,13 +642,14 @@ notsupp:
if( !p_sys )
return VLC_ENOMEM;
+ p_sys->chroma = chroma;
+
config_ChainParse( p_filter, FILTER_CFG_PREFIX, ppsz_filter_options,
p_filter->p_cfg );
char *psz_mode = var_InheritString( p_filter, FILTER_CFG_PREFIX "mode" );
SetFilterMethod( p_filter, psz_mode, packed );
free( psz_mode );
- p_sys->chroma = chroma;
for( int i = 0; i < METADATA_SIZE; i++ )
{
p_sys->meta.pi_date[i] = VLC_TS_INVALID;
More information about the vlc-commits
mailing list