aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-02-06 22:34:33 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-02-06 22:34:33 +0000
commit8cb5d4c060cf2bd6c7d10bb151e4bceedf821379 (patch)
treeae8325ae84934146b61788e95caa5cc2b9dd9f94
parent04a59bfb8d900b63ac2ab4e8a20550c660102461 (diff)
downloadffmpeg-8cb5d4c060cf2bd6c7d10bb151e4bceedf821379.tar.gz
h263 4mv encoding fix
Originally committed as revision 2755 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/h263.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h263.c b/libavcodec/h263.c
index 6a57805bda..f1575fef94 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){