From dcd770779a23ed33ecf9a210c1c3e0d8b74cffeb Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 10 Nov 2001 14:52:05 +0000 Subject: [PATCH] vfw_raw fix git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2795 b3059339-0415-0410-9bf9-f77b7e298cf2 --- dec_video.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/dec_video.c b/dec_video.c index ddbea1d07e..16d313b3e4 100644 --- a/dec_video.c +++ b/dec_video.c @@ -473,6 +473,9 @@ int* stride=stride_; 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 @@ if(verbose>1){ } 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,