From 0b950fe240936fa48fd41204bcfd04f35bbf39c3 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 22 May 2011 14:10:49 +0200 Subject: lavc: introduce avcodec_open2() as a replacement for avcodec_open(). Adds support for decoder-private options and makes setting other options simpler. --- libavcodec/version.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libavcodec/version.h') diff --git a/libavcodec/version.h b/libavcodec/version.h index aded68e..f4a0ecd 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -68,5 +68,8 @@ #ifndef FF_API_GET_PIX_FMT_NAME #define FF_API_GET_PIX_FMT_NAME (LIBAVCODEC_VERSION_MAJOR < 54) #endif +#ifndef FF_API_AVCODEC_OPEN +#define FF_API_AVCODEC_OPEN (LIBAVCODEC_VERSION_MAJOR < 54) +#endif #endif /* AVCODEC_VERSION_H */ -- cgit v1.1 From 9b83919f44eb1c87dc9431112944f0cccf6a599f Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Fri, 20 May 2011 22:37:59 +0200 Subject: ac3dec: add a drc_scale private option Deprecate corresponding AVCodecContext option. This is the first test of decoder private options. --- libavcodec/version.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libavcodec/version.h') diff --git a/libavcodec/version.h b/libavcodec/version.h index f4a0ecd..7e4c02d 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -71,5 +71,8 @@ #ifndef FF_API_AVCODEC_OPEN #define FF_API_AVCODEC_OPEN (LIBAVCODEC_VERSION_MAJOR < 54) #endif +#ifndef FF_API_DRC_SCALE +#define FF_API_DRC_SCALE (LIBAVCODEC_VERSION_MAJOR < 54) +#endif #endif /* AVCODEC_VERSION_H */ -- cgit v1.1 From 71a861cf4010ab835fab383a250f27903eb61a34 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 18 Jun 2011 13:40:48 +0200 Subject: lavc: make avcodec_alloc_context3 officially public. Deprecate avcodec_alloc_context/2. --- libavcodec/version.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libavcodec/version.h') diff --git a/libavcodec/version.h b/libavcodec/version.h index 7e4c02d..32b2bb3 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -68,6 +68,9 @@ #ifndef FF_API_GET_PIX_FMT_NAME #define FF_API_GET_PIX_FMT_NAME (LIBAVCODEC_VERSION_MAJOR < 54) #endif +#ifndef FF_API_ALLOC_CONTEXT +#define FF_API_ALLOC_CONTEXT (LIBAVCODEC_VERSION_MAJOR < 54) +#endif #ifndef FF_API_AVCODEC_OPEN #define FF_API_AVCODEC_OPEN (LIBAVCODEC_VERSION_MAJOR < 54) #endif -- cgit v1.1