summaryrefslogtreecommitdiff
path: root/libavcodec/mpeg12enc.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/mpeg12enc.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/mpeg12enc.c')
-rw-r--r--libavcodec/mpeg12enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpeg12enc.c b/libavcodec/mpeg12enc.c
index 79d7b22a51..a0be12ff0f 100644
--- a/libavcodec/mpeg12enc.c
+++ b/libavcodec/mpeg12enc.c
@@ -562,7 +562,7 @@ static av_always_inline void mpeg1_encode_mb_internal(MpegEncContext *s,
}
s->f_count++;
} else{
- static const int mb_type_len[4]={0,3,4,2}; //bak,for,bi
+ static const int mb_type_len[4]={0,4,3,2}; //bak,for,bi
if(s->mv_type == MV_TYPE_16X16){
if (cbp){ // With coded bloc pattern