[FFmpeg-cvslog] r20932 - trunk/libavcodec/interplayvideo.c
kostya
subversion
Sun Dec 27 09:56:06 CET 2009
Author: kostya
Date: Sun Dec 27 09:56:06 2009
New Revision: 20932
Log:
10l trocadero: forgot one case where picture linesize should be used
Modified:
trunk/libavcodec/interplayvideo.c
Modified: trunk/libavcodec/interplayvideo.c
==============================================================================
--- trunk/libavcodec/interplayvideo.c Sun Dec 27 09:53:02 2009 (r20931)
+++ trunk/libavcodec/interplayvideo.c Sun Dec 27 09:56:06 2009 (r20932)
@@ -589,7 +589,7 @@ static void ipvideo_decode_opcodes(Ipvid
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);
More information about the ffmpeg-cvslog
mailing list