diff mpegvideo.h @ 5445:5581a40c673a libavcodec

exchange the values of MV_DIR_FORWARD and MV_DIR_BACKWARD (this is more sane, matches the order of some other stuff and allows some simplifications)
author michael
date Wed, 01 Aug 2007 22:12:52 +0000
parents 8c0bbf712d76
children b45894d869da
line wrap: on
line diff
--- a/mpegvideo.h	Wed Aug 01 21:17:26 2007 +0000
+++ b/mpegvideo.h	Wed Aug 01 22:12:52 2007 +0000
@@ -368,8 +368,8 @@
     uint8_t (*b_field_select_table[2][2]);
     int me_method;                       ///< ME algorithm
     int mv_dir;
-#define MV_DIR_BACKWARD  1
-#define MV_DIR_FORWARD   2
+#define MV_DIR_FORWARD   1
+#define MV_DIR_BACKWARD  2
 #define MV_DIRECT        4 ///< bidirectional mode where the difference equals the MV of the last P/S/I-Frame (mpeg4)
     int mv_type;
 #define MV_TYPE_16X16       0   ///< 1 vector for the whole mb