summaryrefslogtreecommitdiff
path: root/libavcodec/h263.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-08-01 22:12:52 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-08-01 22:12:52 +0000
commit653f738780035025ee4360757c5ad071ee82bedb (patch)
treec6d62e31bd8cbf8b3e5211ee391fd9a0b5ed7267 /libavcodec/h263.c
parent04b502fa368e40835d8e2b3a15245d53541fa742 (diff)
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) Originally committed as revision 9864 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263.c')
-rw-r--r--libavcodec/h263.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h263.c b/libavcodec/h263.c
index 0498624c6e..7dbdd5ad8e 100644
--- a/libavcodec/h263.c
+++ b/libavcodec/h263.c
@@ -910,7 +910,7 @@ void mpeg4_encode_mb(MpegEncContext * s,
int i, cbp;
if(s->pict_type==B_TYPE){
- static const int mb_type_table[8]= {-1, 2, 3, 1,-1,-1,-1, 0}; /* convert from mv_dir to type */
+ static const int mb_type_table[8]= {-1, 3, 2, 1,-1,-1,-1, 0}; /* convert from mv_dir to type */
int mb_type= mb_type_table[s->mv_dir];
if(s->mb_x==0){