[Mplayer-cvslog] CVS: main dec_video.c,1.116,1.117

Mike Melanson melanson at mplayer.dev.hu
Mon Mar 4 07:10:45 CET 2002


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv24104

Modified Files:
	dec_video.c 
Log Message:
oops...changed the wrong codec's image type


Index: dec_video.c
===================================================================
RCS file: /cvsroot/mplayer/main/dec_video.c,v
retrieving revision 1.116
retrieving revision 1.117
diff -u -r1.116 -r1.117
--- dec_video.c	4 Mar 2002 05:57:57 -0000	1.116
+++ dec_video.c	4 Mar 2002 06:10:43 -0000	1.117
@@ -460,7 +460,7 @@
 switch(sh_video->codec->driver){
  case VFM_ROQVIDEO:
 #ifdef USE_MP_IMAGE
-   sh_video->image->type=MP_IMGTYPE_STATIC;
+   sh_video->image->type=MP_IMGTYPE_IP;
 #else
    sh_video->our_out_buffer_size = sh_video->disp_w * sh_video->disp_h * 1.5;
    sh_video->our_out_buffer = (char*)memalign(64, sh_video->our_out_buffer_size);
@@ -469,7 +469,7 @@
    break;
  case VFM_CINEPAK: {
 #ifdef USE_MP_IMAGE
-   sh_video->image->type=MP_IMGTYPE_IP;
+   sh_video->image->type=MP_IMGTYPE_STATIC;
 #else
    int bpp=((out_fmt&255)+7)/8;
    sh_video->our_out_buffer_size = sh_video->disp_w*sh_video->disp_h*bpp;




More information about the MPlayer-cvslog mailing list