summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-11-09 03:15:06 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2016-01-21 15:33:19 -0500
commit5b6f42da98c26a8aee8d2c2edfcbd0633ad1c607 (patch)
tree2b31ec78c990ed7c447755b54c29efb7bf9129bf /libavcodec/avcodec.h
parent2862b63783b5556f7f3fb2d097629bc6879f833a (diff)
lavc: Move me_penalty_compensation to codec private options
This option is only used by mpegvideoenc. It is a very codec-specific options, so deprecate the global variant. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 04617fecac..4e1c877219 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1938,12 +1938,13 @@ typedef struct AVCodecContext {
*/
int mb_lmax;
+#if FF_API_PRIVATE_OPT
/**
- *
- * - encoding: Set by user.
- * - decoding: unused
+ * @deprecated use encoder private options instead
*/
+ attribute_deprecated
int me_penalty_compensation;
+#endif
/**
*