[vlc-commits] mediacodec: fix psz_name set to NULL
Thomas Guillem
git at videolan.org
Wed Jul 29 13:41:36 CEST 2015
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Jul 29 13:41:25 2015 +0200| [0706192dad71487205f855f4fd07d3f421b37b9b] | committer: Thomas Guillem
mediacodec: fix psz_name set to NULL
It's allocated and freed from Open/Close now.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0706192dad71487205f855f4fd07d3f421b37b9b
---
modules/codec/omxil/mediacodec.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/modules/codec/omxil/mediacodec.c b/modules/codec/omxil/mediacodec.c
index f45d01d..ad56f77 100644
--- a/modules/codec/omxil/mediacodec.c
+++ b/modules/codec/omxil/mediacodec.c
@@ -502,8 +502,6 @@ static void StopMediaCodec(decoder_t *p_dec)
if (p_sys->api->b_direct_rendering)
InvalidateAllPictures(p_dec);
- p_sys->psz_name = NULL;
-
p_sys->api->stop(p_sys->api);
if (p_dec->fmt_in.i_cat == VIDEO_ES && p_sys->u.video.p_awh)
{
More information about the vlc-commits
mailing list