Mercurial > libavformat.hg
comparison metadata.c @ 6384:2d51ca7714c3 libavformat
add LAVF_API_OLD_METADATA define to disable the deprecated metadata API
author | aurel |
---|---|
date | Tue, 17 Aug 2010 20:23:19 +0000 |
parents | 5ec1f78c30fe |
children | 4974b3d4992b |
comparison
equal
deleted
inserted
replaced
6383:65745776af68 | 6384:2d51ca7714c3 |
---|---|
84 } | 84 } |
85 | 85 |
86 return 0; | 86 return 0; |
87 } | 87 } |
88 | 88 |
89 #if LIBAVFORMAT_VERSION_MAJOR == 52 | 89 #if LAVF_API_OLD_METADATA |
90 int av_metadata_set(AVMetadata **pm, const char *key, const char *value) | 90 int av_metadata_set(AVMetadata **pm, const char *key, const char *value) |
91 { | 91 { |
92 return av_metadata_set2(pm, key, value, 0); | 92 return av_metadata_set2(pm, key, value, 0); |
93 } | 93 } |
94 #endif | 94 #endif |