Commit 6e77ee10 authored by michaelni's avatar michaelni

fixing 4MV


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@338 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 54077219
...@@ -555,7 +555,7 @@ INT16 *h263_pred_motion(MpegEncContext * s, int block, ...@@ -555,7 +555,7 @@ INT16 *h263_pred_motion(MpegEncContext * s, int block,
mot_val = s->motion_val[xy]; mot_val = s->motion_val[xy];
/* special case for first line */ /* special case for first line */
if (s->mb_y == 0 || s->first_slice_line || s->first_gob_line) { if ((s->mb_y == 0 || s->first_slice_line || s->first_gob_line) && block<2) {
A = s->motion_val[xy - 1]; A = s->motion_val[xy - 1];
*px = A[0]; *px = A[0];
*py = A[1]; *py = A[1];
...@@ -2353,6 +2353,7 @@ int mpeg4_decode_picture_header(MpegEncContext * s) ...@@ -2353,6 +2353,7 @@ int mpeg4_decode_picture_header(MpegEncContext * s)
//printf("b-code %d\n", s->b_code); //printf("b-code %d\n", s->b_code);
} }
//printf("quant:%d fcode:%d\n", s->qscale, s->f_code); //printf("quant:%d fcode:%d\n", s->qscale, s->f_code);
if(!s->scalability){ if(!s->scalability){
if (s->shape!=RECT_SHAPE && s->pict_type!=I_TYPE) { if (s->shape!=RECT_SHAPE && s->pict_type!=I_TYPE) {
skip_bits1(&s->gb); // vop shape coding type skip_bits1(&s->gb); // vop shape coding type
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment