mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
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:
@@ -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;
|
avContextTab[AVIdx]->pb->read_packet = ffmpeg_read_wrapper;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (avio_opts != NULL)
|
||||||
|
{
|
||||||
|
av_dict_free(&avio_opts);
|
||||||
|
}
|
||||||
//for buffered io (end)
|
//for buffered io (end)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user