aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2014-08-20 23:24:17 +0200
committerClément Bœsch <clement@stupeflix.com>2014-08-21 12:27:34 +0200
commit980a5b01fd07ae117ee30aaef74b57d68f0df22d (patch)
tree1c0c2242a9f37ad2a385d27d872882545bb18d49
parent32cb6c1fe28f3f96ccc8a1ff90b17f01419a004e (diff)
downloadffmpeg-980a5b01fd07ae117ee30aaef74b57d68f0df22d.tar.gz
avutil/motion_vector.h: fix coordinate types
See b0352b1997a83f1b6b27919b94aab539f099b25b for more information on the feature.
-rw-r--r--doc/APIchanges2
-rw-r--r--libavutil/motion_vector.h8
-rw-r--r--libavutil/version.h2
3 files changed, 6 insertions, 6 deletions
diff --git a/doc/APIchanges b/doc/APIchanges
index 1bed10778d..da05c8d6e0 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -15,7 +15,7 @@ libavutil: 2014-08-09
API changes, most recent first:
-2014-08-xx - xxxxxxx - lavu 54.5.100 - frame.h motion_vector.h
+2014-08-xx - xxxxxxx - lavu 54.6.100 - frame.h motion_vector.h
Add AV_FRAME_DATA_MOTION_VECTORS side data and AVMotionVector structure
2014-08-16 - xxxxxxx - lswr 1.1.100 - swresample.h
diff --git a/libavutil/motion_vector.h b/libavutil/motion_vector.h
index 245e5116a3..30cfb994b7 100644
--- a/libavutil/motion_vector.h
+++ b/libavutil/motion_vector.h
@@ -33,13 +33,13 @@ typedef struct AVMotionVector {
*/
uint8_t w, h;
/**
- * Absolute source position.
+ * Absolute source position. Can be outside the frame area.
*/
- uint16_t src_x, src_y;
+ int16_t src_x, src_y;
/**
- * Absolute destination position.
+ * Absolute destination position. Can be outside the frame area.
*/
- uint16_t dst_x, dst_y;
+ int16_t dst_x, dst_y;
/**
* Extra flag information.
* Currently unused.
diff --git a/libavutil/version.h b/libavutil/version.h
index d42209dcc9..4236ed24fd 100644
--- a/libavutil/version.h
+++ b/libavutil/version.h
@@ -56,7 +56,7 @@
*/
#define LIBAVUTIL_VERSION_MAJOR 54
-#define LIBAVUTIL_VERSION_MINOR 5
+#define LIBAVUTIL_VERSION_MINOR 6
#define LIBAVUTIL_VERSION_MICRO 100
#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \