[FFmpeg-devel] [PATCH 2/2] lavf: postpone removal of deprecated avio functions

Måns Rullgård mans
Thu Feb 24 12:23:40 CET 2011


Anton Khirnov <anton at khirnov.net> writes:

> On Wed, Feb 23, 2011 at 12:12:41PM -0500, Ronald S. Bultje wrote:
>> Hi,
>> 
>> On Wed, Feb 23, 2011 at 2:01 AM, Anton Khirnov <anton at khirnov.net> wrote:
>> > ---
>> > ?libavformat/version.h | ? ?2 +-
>> > ?1 files changed, 1 insertions(+), 1 deletions(-)
>> >
>> > diff --git a/libavformat/version.h b/libavformat/version.h
>> > index f42deb6..138cce3 100644
>> > --- a/libavformat/version.h
>> > +++ b/libavformat/version.h
>> > @@ -90,7 +90,7 @@
>> > ?#define FF_API_SYMVER ? ? ? ? ? ? ? ? ?(LIBAVFORMAT_VERSION_MAJOR < 53)
>> > ?#endif
>> > ?#ifndef FF_API_OLD_AVIO
>> > -#define FF_API_OLD_AVIO ? ? ? ? ? ? ? ?(LIBAVFORMAT_VERSION_MAJOR < 53)
>> > +#define FF_API_OLD_AVIO ? ? ? ? ? ? ? ?(LIBAVFORMAT_VERSION_MAJOR < 54)
>> > ?#endif
>> > ?#ifndef FF_API_INDEX_BUILT
>> > ?#define FF_API_INDEX_BUILT ? ? ? ? ? ? (LIBAVFORMAT_VERSION_MAJOR < 53)
>> > --
>> > 1.7.2.3
>> 
>> Why?
>
> Those avio changes were done just now. I thought it was decided that
> only things that were deprecated for some time will be removed in this
> bump.

How hard is it for apps to update to the new API?  If it's only a matter
of search and replace, I think it's OK to go ahead.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list