# HG changeset patch # User arpi # Date 1015424856 0 # Node ID b0e1dc1bba4ba7f20e7ad55f73c5b67b7af059f7 # Parent f896676db962dc73bbdd6cd686c1184ba464a9b8 workaround for CVID frames width!=0 diff -r f896676db962 -r b0e1dc1bba4b dec_video.c --- a/dec_video.c Wed Mar 06 02:22:46 2002 +0000 +++ b/dec_video.c Wed Mar 06 14:27:36 2002 +0000 @@ -470,6 +470,8 @@ case VFM_CINEPAK: { #ifdef USE_MP_IMAGE sh_video->image->type=MP_IMGTYPE_STATIC; + sh_video->image->width=(sh_video->image->width+3)&(~3); + sh_video->image->height=(sh_video->image->height+3)&(~3); #else int bpp=((out_fmt&255)+7)/8; sh_video->our_out_buffer_size = sh_video->disp_w*sh_video->disp_h*bpp;