summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-09-11 00:01:12 +0200
committerVittorio Giovara <vittorio.giovara@gmail.com>2016-01-21 15:33:19 -0500
commit84c4714f397c9c50eb9d49008cc1c08385f68f31 (patch)
tree493619c3ddb4410e9ea581dacf04e61192833d21 /libavcodec/avcodec.h
parent0e6c8532215790bbe560a9eea4f3cc82bb55cf92 (diff)
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>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h9
1 files changed, 4 insertions, 5 deletions
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