mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 07:23:11 +02:00
av_dict_free avio_opts; fix memleak
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