changeset 2794:411be2ac50ae

vfw_raw fix
author alex
date Sat, 10 Nov 2001 14:52:05 +0000
parents 38cb77fd3427
children 51bb2caa5f2a
files dec_video.c
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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,