"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libavcodec/vc1dec.c" between
libav-11.7.tar.gz and libav-11.8.tar.gz

About: libav provides cross-platform tools ("avconv") and libraries to convert, manipulate and stream a wide range of multimedia (audio and video) formats and protocols.

vc1dec.c  (libav-11.7):vc1dec.c  (libav-11.8)
skipping to change at line 6068 skipping to change at line 6068
} }
} }
} }
if (header_ret < 0) if (header_ret < 0)
continue; continue;
s->start_mb_y = (i == 0) ? 0 : FFMAX(0, slices[i-1].mby_start % mb_h eight); s->start_mb_y = (i == 0) ? 0 : FFMAX(0, slices[i-1].mby_start % mb_h eight);
if (!v->field_mode || v->second_field) if (!v->field_mode || v->second_field)
s->end_mb_y = (i == n_slices ) ? mb_height : FFMIN(mb_height , slices[i].mby_start % mb_height); s->end_mb_y = (i == n_slices ) ? mb_height : FFMIN(mb_height , slices[i].mby_start % mb_height);
else else
s->end_mb_y = (i <= n_slices1 + 1) ? mb_height : FFMIN(mb_height , slices[i].mby_start % mb_height); s->end_mb_y = (i <= n_slices1 + 1) ? mb_height : FFMIN(mb_height , slices[i].mby_start % mb_height);
if (s->end_mb_y <= s->start_mb_y) {
av_log(v->s.avctx, AV_LOG_ERROR, "Invalid slice size\n");
goto err;
}
ff_vc1_decode_blocks(v); ff_vc1_decode_blocks(v);
if (i != n_slices) if (i != n_slices)
s->gb = slices[i].gb; s->gb = slices[i].gb;
} }
if (v->field_mode) { if (v->field_mode) {
v->second_field = 0; v->second_field = 0;
s->current_picture.f->linesize[0] >>= 1; s->current_picture.f->linesize[0] >>= 1;
s->current_picture.f->linesize[1] >>= 1; s->current_picture.f->linesize[1] >>= 1;
s->current_picture.f->linesize[2] >>= 1; s->current_picture.f->linesize[2] >>= 1;
s->linesize >>= 1; s->linesize >>= 1;
 End of changes. 1 change blocks. 
0 lines changed or deleted 6 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS