From 84c4714f397c9c50eb9d49008cc1c08385f68f31 Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Fri, 11 Sep 2015 00:01:12 +0200 Subject: lavc: Move brd_scale to codec private options This option is only used by mpegvideoenc, It is a very codec-specific option, so deprecate the global variant. Set proper limits to the maximum allowed values. Signed-off-by: Vittorio Giovara --- libavcodec/avcodec.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'libavcodec/avcodec.h') diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 66e6ac8a70..ba84d48856 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -1958,12 +1958,11 @@ typedef struct AVCodecContext { */ int bidir_refine; - /** - * - * - encoding: Set by user. - * - decoding: unused - */ +#if FF_API_PRIVATE_OPT + /** @deprecated use encoder private options instead */ + attribute_deprecated int brd_scale; +#endif /** * minimum GOP size -- cgit v1.2.3