[vlc-commits] commit: x264.c: forgotten free() added (Ilkka Ollakka )
git at videolan.org
git at videolan.org
Mon May 10 16:08:24 CEST 2010
vlc/vlc-1.1 | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Mon May 10 17:04:46 2010 +0300| [f8e45a555873f9a739cfb976f481ee6439b08761] | committer: Ilkka Ollakka
x264.c: forgotten free() added
(cherry picked from commit 314cd3825c7b20f77bab5fcc9909a7e700d88d3f)
Signed-off-by: Ilkka Ollakka <ileoo at iki.fi>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=f8e45a555873f9a739cfb976f481ee6439b08761
---
modules/codec/x264.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/codec/x264.c b/modules/codec/x264.c
index 303e008..acdbc69 100644
--- a/modules/codec/x264.c
+++ b/modules/codec/x264.c
@@ -966,6 +966,7 @@ static int Open ( vlc_object_t *p_this )
p_sys->param.i_nal_hrd = X264_NAL_HRD_VBR;
else if( !strcmp( psz_val, "cbr" ) )
p_sys->param.i_nal_hrd = X264_NAL_HRD_CBR;
+ free( psz_val );
#endif
//TODO: psz_val == NULL ?
More information about the vlc-commits
mailing list