Mercurial > libavcodec.hg
diff h263.c @ 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 | f15e5b4909e1 |
| children | 9f8219a3b86f |
line wrap: on
line diff
--- a/h263.c Wed Aug 01 21:17:26 2007 +0000 +++ b/h263.c Wed Aug 01 22:12:52 2007 +0000 @@ -910,7 +910,7 @@ 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){
