diff options
author | 2002-03-04 06:10:43 +0000 | |
---|---|---|
committer | 2002-03-04 06:10:43 +0000 | |
commit | 31fbdc21ca0edc5b82cdb39922b192d354261f3d (patch) | |
tree | d5d2f176a2f1d3d93a8589dfef98a43de32c4265 /dec_video.c | |
parent | 68e3f7289289ad0f9080b3fbed9fa95b23cf388d (diff) |
oops...changed the wrong codec's image type
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4938 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'dec_video.c')
-rw-r--r-- | dec_video.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dec_video.c b/dec_video.c index c1ecd75c0f..94b62fa3f4 100644 --- a/dec_video.c +++ b/dec_video.c @@ -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; |