diff --git a/libavcodec/h263.c b/libavcodec/h263.c
index 6a57805bdaa463ff45b3e6deb568bbfbfe118c97..f1575fef9455990cc2f1cd57f944c9aa3c5b1f60 100644
--- a/libavcodec/h263.c
+++ b/libavcodec/h263.c
@@ -1123,7 +1123,7 @@ void h263_encode_mb(MpegEncContext * s,
         /* 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){