On 07/11/2016 02:23 AM, Marton Balint wrote:
+ret = av_dict_copy(&dst->metadata, src->metadata, 0);
+if (ret < 0)
+return ret;
Since you are resetting every existing field in dst, it might make
sense to free the metadata dictionary as well, before copying items to
it.
Th
On Mon, 4 Jul 2016, sebechlebsky...@gmail.com wrote:
From: Jan Sebechlebsky
Signed-off-by: Jan Sebechlebsky
---
libavformat/internal.h | 9
libavformat/utils.c| 56 ++
2 files changed, 65 insertions(+)
diff --git a/libavformat/inte
From: Jan Sebechlebsky
Signed-off-by: Jan Sebechlebsky
---
libavformat/internal.h | 9
libavformat/utils.c| 56 ++
2 files changed, 65 insertions(+)
diff --git a/libavformat/internal.h b/libavformat/internal.h
index 647ad65..1b44bea