[FFmpeg-devel] [PATCH] avutil/motion_vector.h: fix coordinate types

Clément Bœsch u at pkh.me
Wed Aug 20 23:30:27 CEST 2014


---
 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 1bed107..1fbeb09 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 - b0352b1,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 245e511..30cfb99 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 d42209d..4236ed2 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, \
-- 
2.0.4



More information about the ffmpeg-devel mailing list