]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/dict.h
Merge commit '801c39e1e3058fc4ba822bfb5d8612d777111e32'
[ffmpeg] / libavutil / dict.h
index c23a2d12cb5dd27979501b1d00d61740f1714c01..a39a5ee0d4ee02a071ec6f9222b3d20bbcc58d88 100644 (file)
@@ -98,7 +98,7 @@ typedef struct AVDictionary AVDictionary;
  * @return found entry or NULL in case no matching entry was found in the dictionary
  */
 AVDictionaryEntry *
-av_dict_get(AVDictionary *m, const char *key, const AVDictionaryEntry *prev, int flags);
+av_dict_get(const AVDictionary *m, const char *key, const AVDictionaryEntry *prev, int flags);
 
 /**
  * Get number of entries in dictionary.
@@ -148,7 +148,7 @@ int av_dict_parse_string(AVDictionary **pm, const char *str,
  * @param flags flags to use when setting entries in *dst
  * @note metadata is read using the AV_DICT_IGNORE_SUFFIX flag
  */
-void av_dict_copy(AVDictionary **dst, AVDictionary *src, int flags);
+void av_dict_copy(AVDictionary **dst, const AVDictionary *src, int flags);
 
 /**
  * Free all the memory allocated for an AVDictionary struct