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

Alex Converse alex.converse
Wed Feb 23 09:57:47 CET 2011


On Tue, Feb 22, 2011 at 11:01 PM, 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)

Weren't there name space pollution issues with these functions. To me
that trumps the fact that the replacement hasn't been around very
long.

Can't the old function calls be fixed with a simple search and
replace? The actual structure of the API hasn't changed substantially.



More information about the ffmpeg-devel mailing list