From 980a5b01fd07ae117ee30aaef74b57d68f0df22d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Wed, 20 Aug 2014 23:24:17 +0200 Subject: [PATCH] avutil/motion_vector.h: fix coordinate types See b0352b1997a83f1b6b27919b94aab539f099b25b for more information on the feature. --- doc/APIchanges | 2 +- libavutil/motion_vector.h | 8 ++++---- libavutil/version.h | 2 +- 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, \