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

Clément Bœsch git at videolan.org
Thu Aug 21 12:34:20 CEST 2014


ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Wed Aug 20 23:24:17 2014 +0200| [980a5b01fd07ae117ee30aaef74b57d68f0df22d] | committer: Clément Bœsch

avutil/motion_vector.h: fix coordinate types

See b0352b1997a83f1b6b27919b94aab539f099b25b for more information on the
feature.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=980a5b01fd07ae117ee30aaef74b57d68f0df22d
---

 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..da05c8d 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 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, \



More information about the ffmpeg-cvslog mailing list