[FFmpeg-devel] [PATCH 2/5] lavu/dict: check for malloc failures some more
lukasz.m.luki2 at gmail.com
Sat Dec 13 01:46:57 CET 2014
On 12.12.2014 18:15, wm4 wrote:
> This fix is rather messy because of AV_DICT_DONT_STRDUP_VAL. It's not
> even clear how this should be handled. Maybe freeing the user's data on
> failure would actually be ok.
const char* arg suggests this function should not free it, but dict
would free it eventually so I agree freeing it should be OK, and
convenient for a user.
More information about the ffmpeg-devel