rename ff_metadata_sync_compat to ff_metadata_mux_compat

Originally committed as revision 16501 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Aurelien Jacobs 16 years ago
parent 97ca83a566
commit 5ce0043367
  1. 2
      libavformat/metadata.h
  2. 2
      libavformat/metadata_compat.c
  3. 2
      libavformat/utils.c

@ -37,7 +37,7 @@ struct AVMetadata{
#if LIBAVFORMAT_VERSION_MAJOR < 53 #if LIBAVFORMAT_VERSION_MAJOR < 53
void ff_metadata_demux_compat(AVFormatContext *s); void ff_metadata_demux_compat(AVFormatContext *s);
void ff_metadata_sync_compat(AVFormatContext *s); void ff_metadata_mux_compat(AVFormatContext *s);
#endif #endif
#endif /* AVFORMAT_METADATA_H */ #endif /* AVFORMAT_METADATA_H */

@ -114,7 +114,7 @@ void ff_metadata_demux_compat(AVFormatContext *ctx)
snprintf(number, sizeof(number), "%d", s->key); \ snprintf(number, sizeof(number), "%d", s->key); \
if(s->key) FILL_METADATA(s, key, number) } if(s->key) FILL_METADATA(s, key, number) }
void ff_metadata_sync_compat(AVFormatContext *ctx) void ff_metadata_mux_compat(AVFormatContext *ctx)
{ {
int i; int i;

@ -2502,7 +2502,7 @@ int av_write_header(AVFormatContext *s)
} }
#if LIBAVFORMAT_VERSION_MAJOR < 53 #if LIBAVFORMAT_VERSION_MAJOR < 53
ff_metadata_sync_compat(s); ff_metadata_mux_compat(s);
#endif #endif
if(s->oformat->write_header){ if(s->oformat->write_header){

Loading…
Cancel
Save