Commit f787917a authored by kostya's avatar kostya

10l trocadero: forgot one case where picture linesize should be used

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20932 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent aebeb3ec
......@@ -589,7 +589,7 @@ static void ipvideo_decode_opcodes(IpvideoContext *s)
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);
......
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