diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index eb5a965bce70d06a87f5736d4e5472833e19f4ee..7cc059c30a1180d4e9ab5518468e7ddc4cf45d2f 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -119,6 +119,7 @@ struct AVFormatContext;
 #define AV_METADATA_IGNORE_SUFFIX   2
 #define AV_METADATA_DONT_STRDUP_KEY 4
 #define AV_METADATA_DONT_STRDUP_VAL 8
+#define AV_METADATA_DONT_OVERWRITE 16   ///< Don't overwrite existing tags.
 
 typedef struct {
     char *key;