Commit f8e45a55 authored by Ilkka Ollakka's avatar Ilkka Ollakka Committed by Ilkka Ollakka

x264.c: forgotten free() added

(cherry picked from commit 314cd382)
Signed-off-by: default avatarIlkka Ollakka <ileoo@iki.fi>
parent a3939264
...@@ -966,6 +966,7 @@ static int Open ( vlc_object_t *p_this ) ...@@ -966,6 +966,7 @@ static int Open ( vlc_object_t *p_this )
p_sys->param.i_nal_hrd = X264_NAL_HRD_VBR; p_sys->param.i_nal_hrd = X264_NAL_HRD_VBR;
else if( !strcmp( psz_val, "cbr" ) ) else if( !strcmp( psz_val, "cbr" ) )
p_sys->param.i_nal_hrd = X264_NAL_HRD_CBR; p_sys->param.i_nal_hrd = X264_NAL_HRD_CBR;
free( psz_val );
#endif #endif
//TODO: psz_val == NULL ? //TODO: psz_val == NULL ?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment