oops...changed the wrong codec's image type

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4938 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
melanson 2002-03-04 06:10:43 +00:00
parent 68e3f72892
commit 31fbdc21ca
1 changed files with 2 additions and 2 deletions

View File

@ -460,7 +460,7 @@ mp_image_setfmt(sh_video->image,out_fmt);
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 @@ switch(sh_video->codec->driver){
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;