changeset 1789:acda5fdfd6e7 libavcodec

h263 4mv encoding fix
author michael
date Fri, 06 Feb 2004 22:34:33 +0000
parents 7b13ac4995a9
children be1f5b6137e1
files h263.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/h263.c	Fri Feb 06 21:07:17 2004 +0000
+++ b/h263.c	Fri Feb 06 22:34:33 2004 +0000
@@ -1123,7 +1123,7 @@
         /* compute cbp */
         cbp= get_p_cbp(s, block, motion_x, motion_y);
 
-        if ((cbp | motion_x | motion_y | s->dquant) == 0) {
+        if ((cbp | motion_x | motion_y | s->dquant | (s->mv_type - MV_TYPE_16X16)) == 0) {
             /* skip macroblock */
             put_bits(&s->pb, 1, 1);
             if(interleaved_stats){