Browse Source

h263 4mv encoding fix

Originally committed as revision 2755 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 22 years ago
parent
commit
8cb5d4c060
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/h263.c

+ 1
- 1
libavcodec/h263.c View File

@@ -1123,7 +1123,7 @@ void h263_encode_mb(MpegEncContext * s,
/* compute cbp */ /* compute cbp */
cbp= get_p_cbp(s, block, motion_x, motion_y); 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 */ /* skip macroblock */
put_bits(&s->pb, 1, 1); put_bits(&s->pb, 1, 1);
if(interleaved_stats){ if(interleaved_stats){


Loading…
Cancel
Save