From 38233fc13106627e05add93df227ec72a11ed24a Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 12 Jan 2012 13:31:55 +0100 Subject: lavf: remove disabled FF_API_OLD_METADATA2 cruft --- libavformat/metadata.c | 29 ----------------------------- 1 file changed, 29 deletions(-) (limited to 'libavformat/metadata.c') diff --git a/libavformat/metadata.c b/libavformat/metadata.c index 7d85363cfe..7f28314698 100644 --- a/libavformat/metadata.c +++ b/libavformat/metadata.c @@ -23,35 +23,6 @@ #include "libavutil/dict.h" #include "libavutil/avstring.h" -#if FF_API_OLD_METADATA2 -AVDictionaryEntry * -av_metadata_get(AVDictionary *m, const char *key, const AVDictionaryEntry *prev, int flags) -{ - return av_dict_get(m, key, prev, flags); -} - -int av_metadata_set2(AVDictionary **pm, const char *key, const char *value, int flags) -{ - return av_dict_set(pm, key, value, flags); -} - -void av_metadata_conv(AVFormatContext *ctx, const AVMetadataConv *d_conv, - const AVMetadataConv *s_conv) -{ - return; -} - -void av_metadata_free(AVDictionary **pm) -{ - av_dict_free(pm); -} - -void av_metadata_copy(AVDictionary **dst, AVDictionary *src, int flags) -{ - av_dict_copy(dst, src, flags); -} -#endif - void ff_metadata_conv(AVDictionary **pm, const AVMetadataConv *d_conv, const AVMetadataConv *s_conv) { -- cgit v1.2.3