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 <vittorio.giovara@gmail.com>
This commit is contained in:
Vittorio Giovara
2015-09-11 00:01:12 +02:00
parent 0e6c853221
commit 84c4714f39
4 changed files with 18 additions and 8 deletions

View File

@@ -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