"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libavcodec/mpeg4videodec.c" between
libav-12.tar.gz and libav-12.1.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.

mpeg4videodec.c  (libav-12):mpeg4videodec.c  (libav-12.1)
skipping to change at line 189 skipping to change at line 189
int virtual_ref[2][2]; int virtual_ref[2][2];
// only true for rectangle shapes // only true for rectangle shapes
const int vop_ref[4][2] = { { 0, 0 }, { s->width, 0 }, const int vop_ref[4][2] = { { 0, 0 }, { s->width, 0 },
{ 0, s->height }, { s->width, s->height } }; { 0, s->height }, { s->width, s->height } };
int d[4][2] = { { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 } }; int d[4][2] = { { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 } };
if (w <= 0 || h <= 0) if (w <= 0 || h <= 0)
return AVERROR_INVALIDDATA; return AVERROR_INVALIDDATA;
/* the decoder was not properly initialized and we cannot continue */
if (sprite_trajectory.table == NULL)
return AVERROR_INVALIDDATA;
for (i = 0; i < ctx->num_sprite_warping_points; i++) { for (i = 0; i < ctx->num_sprite_warping_points; i++) {
int length; int length;
int x = 0, y = 0; int x = 0, y = 0;
length = get_vlc2(gb, sprite_trajectory.table, SPRITE_TRAJ_VLC_BITS, 3); length = get_vlc2(gb, sprite_trajectory.table, SPRITE_TRAJ_VLC_BITS, 3);
if (length) if (length)
x = get_xbits(gb, length); x = get_xbits(gb, length);
if (!(ctx->divx_version == 500 && ctx->divx_build == 413)) if (!(ctx->divx_version == 500 && ctx->divx_build == 413))
skip_bits1(gb); /* marker bit */ skip_bits1(gb); /* marker bit */
 End of changes. 1 change blocks. 
0 lines changed or deleted 4 lines changed or added

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