Browse Source

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

Originally committed as revision 20932 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Kostya Shishkov 16 years ago
parent
commit
e09cdc7206
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/interplayvideo.c

+ 1
- 1
libavcodec/interplayvideo.c View File

@@ -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);


Loading…
Cancel
Save