summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2014-04-29 08:00:03 +0200
committerAnton Khirnov <anton@khirnov.net>2014-05-01 09:24:18 +0200
commita2941c8cb216bdc144953cace64973f5600ffa2d (patch)
treedebc8a02c1758e32cf1cd061fe3cc5d533b85f47 /libavcodec/avcodec.h
parent6484149158b6fc6d13d2b2ef84cb26a2d3275400 (diff)
lavc: move CODEC_FLAG_MV0 to mpegvideo
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 6ffc717b23..f6869ef9f4 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -675,7 +675,13 @@ typedef struct RcOverride{
*/
#define CODEC_FLAG_GMC 0x0020 ///< Use GMC.
#endif
-#define CODEC_FLAG_MV0 0x0040 ///< Always try a MB with MV=<0,0>.
+#if FF_API_MV0
+/**
+ * @deprecated use the flag "mv0" in the "mpv_flags" private option of the
+ * mpegvideo encoders
+ */
+#define CODEC_FLAG_MV0 0x0040
+#endif
#if FF_API_INPUT_PRESERVED
/**
* @deprecated passing reference-counted frames to the encoders replaces this