av_dict_free avio_opts; fix memleak

Origin commit data
------------------
Branch: master
Commit: 2cb8655ab7
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2020-01-04 (Sat, 04 Jan 2020)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2020-01-04 11:07:05 +01:00
committed by vanhofen
parent a7d0d64f8a
commit 211fca9109

View File

@@ -1883,6 +1883,10 @@ int32_t container_ffmpeg_init_av_context(Context_t *context, char *filename, uin
avContextTab[AVIdx]->pb->read_packet = ffmpeg_read_wrapper;
}
}
if (avio_opts != NULL)
{
av_dict_free(&avio_opts);
}
//for buffered io (end)
return 0;