[vlc-commits] videotoolbox: fix invalid free
Thomas Guillem
git at videolan.org
Wed Jul 29 18:38:48 CEST 2015
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Jul 29 18:18:10 2015 +0200| [250f728dad7067b8454c25121453d7a1f3057635] | committer: Thomas Guillem
videotoolbox: fix invalid free
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=250f728dad7067b8454c25121453d7a1f3057635
---
modules/codec/videotoolbox.m | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/codec/videotoolbox.m b/modules/codec/videotoolbox.m
index 499cfd6..2e971b8 100644
--- a/modules/codec/videotoolbox.m
+++ b/modules/codec/videotoolbox.m
@@ -610,6 +610,7 @@ static int OpenDecoder(vlc_object_t *p_this)
p_sys->b_started = false;
p_sys->b_is_avcc = false;
p_sys->codec = codec;
+ p_sys->videoFormatDescription = nil;
int i_ret = StartVideoToolbox(p_dec, NULL);
if (i_ret != VLC_SUCCESS) {
More information about the vlc-commits
mailing list