# HG changeset patch # User alex # Date 1005403925 0 # Node ID 411be2ac50ae862ff9b419761c4415a3987eda68 # Parent 38cb77fd3427506d53b60092eea50a4d88c27c07 vfw_raw fix diff -r 38cb77fd3427 -r 411be2ac50ae dec_video.c --- a/dec_video.c Sat Nov 10 14:33:52 2001 +0000 +++ b/dec_video.c Sat Nov 10 14:52:05 2001 +0000 @@ -473,6 +473,9 @@ unsigned int t=GetTimer(); unsigned int t2; +//printf("decode_frame(start: %p, size: %d, w: %d, h: %d)\n", +// start, in_size, sh_video->disp_w, sh_video->disp_h); + //-------------------- Decode a frame: ----------------------- switch(sh_video->codec->driver){ #ifdef USE_XANIM @@ -665,8 +668,10 @@ } break; case VFM_RAW: - planes[0]=start; - blit_frame=2; +// planes[0]=start; +// blit_frame=2; + sh_video->our_out_buffer = start; + blit_frame=3; break; case VFM_RLE: //void AVI_Decode_RLE8(char *image,char *delta,int tdsize,