summaryrefslogtreecommitdiff
path: root/libavutil/dict.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/dict.h')
-rw-r--r--libavutil/dict.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libavutil/dict.h b/libavutil/dict.h
index 025d867993..06f1621d45 100644
--- a/libavutil/dict.h
+++ b/libavutil/dict.h
@@ -31,6 +31,8 @@
#ifndef AVUTIL_DICT_H
#define AVUTIL_DICT_H
+#include <stdint.h>
+
#include "version.h"
/**
@@ -123,6 +125,12 @@ int av_dict_count(const AVDictionary *m);
int av_dict_set(AVDictionary **pm, const char *key, const char *value, int flags);
/**
+ * Convenience wrapper for av_dict_set that converts the value to a string
+ * and stores it.
+ */
+int av_dict_set_int(AVDictionary **pm, const char *key, int64_t value, int flags);
+
+/**
* Parse the key/value pairs list and add the parsed entries to a dictionary.
*
* In case of failure, all the successfully set entries are stored in