diff options
author | 2002-03-04 05:57:57 +0000 | |
---|---|---|
committer | 2002-03-04 05:57:57 +0000 | |
commit | 68e3f7289289ad0f9080b3fbed9fa95b23cf388d (patch) | |
tree | 5a8ec86e280adbde90c453619c8ed946977b68d9 /dec_video.c | |
parent | f9a117db99d9d7e742d7971ce71c11587da2f19d (diff) |
first pass at RoQ video decoder...not exactly qualified as 'working' at
this point
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4937 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'dec_video.c')
-rw-r--r-- | dec_video.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/dec_video.c b/dec_video.c index 96229d8deb..c1ecd75c0f 100644 --- a/dec_video.c +++ b/dec_video.c @@ -469,7 +469,7 @@ switch(sh_video->codec->driver){ break; case VFM_CINEPAK: { #ifdef USE_MP_IMAGE - sh_video->image->type=MP_IMGTYPE_STATIC; + sh_video->image->type=MP_IMGTYPE_IP; #else int bpp=((out_fmt&255)+7)/8; sh_video->our_out_buffer_size = sh_video->disp_w*sh_video->disp_h*bpp; @@ -1190,9 +1190,8 @@ if(verbose>1){ blit_frame = 3; break; case VFM_ROQVIDEO: - roq_decode_video(start, in_size, sh_video->our_out_buffer, - sh_video->disp_w, sh_video->disp_h, sh_video->context); - blit_frame = 3; + roq_decode_video(sh_video->context, start, in_size, mpi); + blit_frame = 2; break; case VFM_QTRPZA: qt_decode_rpza( |