Commit 0706192d authored by Thomas Guillem's avatar Thomas Guillem

mediacodec: fix psz_name set to NULL

It's allocated and freed from Open/Close now.
parent 94bd3e7f
...@@ -502,8 +502,6 @@ static void StopMediaCodec(decoder_t *p_dec) ...@@ -502,8 +502,6 @@ static void StopMediaCodec(decoder_t *p_dec)
if (p_sys->api->b_direct_rendering) if (p_sys->api->b_direct_rendering)
InvalidateAllPictures(p_dec); InvalidateAllPictures(p_dec);
p_sys->psz_name = NULL;
p_sys->api->stop(p_sys->api); p_sys->api->stop(p_sys->api);
if (p_dec->fmt_in.i_cat == VIDEO_ES && p_sys->u.video.p_awh) if (p_dec->fmt_in.i_cat == VIDEO_ES && p_sys->u.video.p_awh)
{ {
......
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