summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-04-25 14:27:42 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-04-25 14:27:42 +0000
commit2ef6c1242aeebf863b86f34229490a023bfe65dc (patch)
treec6ab0ec0003050c62ce4d19b36935c9dd4cb7a64 /libavformat/avformat.h
parent472e12f510dc5cc457edd2b1543bacfe9f952f2a (diff)
Mark av_metadata_set() as deprecated, and use av_metadata_set2()
in its place. av_metadata_set() is going to be dropped at the next major bump. Originally committed as revision 22961 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 5ff08c0edb..184e68b246 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -145,8 +145,9 @@ av_metadata_get(AVMetadata *m, const char *key, const AVMetadataTag *prev, int f
* @param key tag key to add to m (will be av_strduped)
* @param value tag value to add to m (will be av_strduped)
* @return >= 0 on success otherwise an error code <0
+ * @deprecated Use av_metadata_set2() instead.
*/
-int av_metadata_set(AVMetadata **pm, const char *key, const char *value);
+attribute_deprecated int av_metadata_set(AVMetadata **pm, const char *key, const char *value);
#endif
/**