# HG changeset patch # User kostya # Date 1261904166 0 # Node ID 4b1bc4a1ff14b9835175287920324ccb5acd704e # Parent e64842a691d813cad867a1f6adcdc204c956a434 10l trocadero: forgot one case where picture linesize should be used diff -r e64842a691d8 -r 4b1bc4a1ff14 interplayvideo.c --- a/interplayvideo.c Sun Dec 27 08:53:02 2009 +0000 +++ b/interplayvideo.c Sun Dec 27 08:56:06 2009 +0000 @@ -589,7 +589,7 @@ s->stride = s->current_frame.linesize[0] >> 1; } s->line_inc = s->stride - 8; - s->upper_motion_limit_offset = (s->avctx->height - 8) * s->stride + s->upper_motion_limit_offset = (s->avctx->height - 8) * s->current_frame.linesize[0] + (s->avctx->width - 8) * (1 + s->is_16bpp); init_get_bits(&gb, s->decoding_map, s->decoding_map_size * 8);