diff --git a/libavformat/metadata.h b/libavformat/metadata.h index 88c9c86626..b6912efc5f 100644 --- a/libavformat/metadata.h +++ b/libavformat/metadata.h @@ -37,7 +37,7 @@ struct AVMetadata{ #if LIBAVFORMAT_VERSION_MAJOR < 53 void ff_metadata_demux_compat(AVFormatContext *s); -void ff_metadata_sync_compat(AVFormatContext *s); +void ff_metadata_mux_compat(AVFormatContext *s); #endif #endif /* AVFORMAT_METADATA_H */ diff --git a/libavformat/metadata_compat.c b/libavformat/metadata_compat.c index ab03826d53..7aef9389ab 100644 --- a/libavformat/metadata_compat.c +++ b/libavformat/metadata_compat.c @@ -114,7 +114,7 @@ void ff_metadata_demux_compat(AVFormatContext *ctx) snprintf(number, sizeof(number), "%d", s->key); \ if(s->key) FILL_METADATA(s, key, number) } -void ff_metadata_sync_compat(AVFormatContext *ctx) +void ff_metadata_mux_compat(AVFormatContext *ctx) { int i; diff --git a/libavformat/utils.c b/libavformat/utils.c index 3f26aee991..0afc63bb94 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -2502,7 +2502,7 @@ int av_write_header(AVFormatContext *s) } #if LIBAVFORMAT_VERSION_MAJOR < 53 - ff_metadata_sync_compat(s); + ff_metadata_mux_compat(s); #endif if(s->oformat->write_header){