changeset 4937:5f3f768a7596

oops...changed the wrong codec's image type
author melanson
date Mon, 04 Mar 2002 06:10:43 +0000
parents 026329111b09
children b782efa10c60
files dec_video.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/dec_video.c	Mon Mar 04 05:57:57 2002 +0000
+++ b/dec_video.c	Mon Mar 04 06:10:43 2002 +0000
@@ -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;