diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2010-08-18 20:34:31 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2010-08-18 20:34:31 +0000 |
commit | 54036be11a0f1902144fbf903a98607ae52ff5fb (patch) | |
tree | f495099eda8df86161600d044dd33213ecda83eb /libavformat/utils.c | |
parent | a42c29febc501d5df3dd24b437cb884485862c56 (diff) | |
download | ffmpeg-54036be11a0f1902144fbf903a98607ae52ff5fb.tar.gz |
rename LAVF_API_* defines to FF_API_* to clarify that it is not public API
Originally committed as revision 24825 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index c63e585b64..3fe5eaf635 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -457,7 +457,7 @@ int av_open_input_stream(AVFormatContext **ic_ptr, if (pb && !ic->data_offset) ic->data_offset = url_ftell(ic->pb); -#if LAVF_API_OLD_METADATA +#if FF_API_OLD_METADATA ff_metadata_demux_compat(ic); #endif @@ -2460,14 +2460,14 @@ void av_close_input_stream(AVFormatContext *s) av_free(st->index_entries); av_free(st->codec->extradata); av_free(st->codec); -#if LAVF_API_OLD_METADATA +#if FF_API_OLD_METADATA av_free(st->filename); #endif av_free(st->priv_data); av_free(st); } for(i=s->nb_programs-1; i>=0; i--) { -#if LAVF_API_OLD_METADATA +#if FF_API_OLD_METADATA av_freep(&s->programs[i]->provider_name); av_freep(&s->programs[i]->name); #endif @@ -2479,7 +2479,7 @@ void av_close_input_stream(AVFormatContext *s) flush_packet_queue(s); av_freep(&s->priv_data); while(s->nb_chapters--) { -#if LAVF_API_OLD_METADATA +#if FF_API_OLD_METADATA av_free(s->chapters[s->nb_chapters]->title); #endif av_metadata_free(&s->chapters[s->nb_chapters]->metadata); @@ -2582,7 +2582,7 @@ AVChapter *ff_new_chapter(AVFormatContext *s, int id, AVRational time_base, int6 return NULL; dynarray_add(&s->chapters, &s->nb_chapters, chapter); } -#if LAVF_API_OLD_METADATA +#if FF_API_OLD_METADATA av_free(chapter->title); #endif av_metadata_set2(&chapter->metadata, "title", title, 0); @@ -2718,7 +2718,7 @@ int av_write_header(AVFormatContext *s) return AVERROR(ENOMEM); } -#if LAVF_API_OLD_METADATA +#if FF_API_OLD_METADATA ff_metadata_mux_compat(s); #endif |