avcodec: copy the key/values as they will be freed during av_dict_free()
avcodec: copy the key/values as they will be freed during av_dict_free()

av_free() assumes the memory was allocated with av_alloc(). It will assert
if CONFIG_MEMALIGN_HACK is enabled.

Signed-off-by: Jean-Baptiste Kempf <7b85a41a628204b76aba4326273a3ccc74bd009a@videolan.org>

xkfz007/vlc,xkfz007/vlc,xkfz007/vlc,xkfz007/vlc,xkfz007/vlc,xkfz007/vlc,xkfz007/vlc