[libav-devel] [PATCH 1/6] Add av_dict_version() to make it quick to check if a dictionary has changed.

2014-06-04 Thread Andrew Stone
By comparing versions of dictionaries, it's possible to detect if metadata has changed. --- libavutil/dict.c | 8 libavutil/dict.h | 10 ++ 2 files changed, 18 insertions(+) diff --git a/libavutil/dict.c b/libavutil/dict.c index 7b4dbf2..113afe4 100644 --- a/libavutil/dict.c

Re: [libav-devel] [PATCH 1/6] Add av_dict_version() to make it quick to check if a dictionary has changed.

2014-06-04 Thread Vittorio Giovara
On Wed, Jun 4, 2014 at 2:33 PM, Andrew Stone and...@clovar.com wrote: By comparing versions of dictionaries, it's possible to detect if metadata has changed. --- libavutil/dict.c | 8 libavutil/dict.h | 10 ++ 2 files changed, 18 insertions(+) dict.h is a public header,

Re: [libav-devel] [PATCH 1/6] Add av_dict_version() to make it quick to check if a dictionary has changed.

2014-06-04 Thread James Almer
On 04/06/14 3:33 PM, Andrew Stone wrote: By comparing versions of dictionaries, it's possible to detect if metadata has changed. --- libavutil/dict.c | 8 libavutil/dict.h | 10 ++ 2 files changed, 18 insertions(+) Maybe revision is a better name to avoid confusion with