changeset 4672:030b3125e6f0

mpng: 32bpp support
author alex
date Tue, 12 Feb 2002 17:04:43 +0000
parents 91a1ce283aa8
children f1fab23304c6
files dec_video.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dec_video.c	Tue Feb 12 17:04:13 2002 +0000
+++ b/dec_video.c	Tue Feb 12 17:04:43 2002 +0000
@@ -1157,7 +1157,7 @@
     decode_mpng(
         start, in_size, sh_video->our_out_buffer,
 	sh_video->disp_w,sh_video->disp_h,
-	24
+	((out_fmt&255)+7)/8
     );
     blit_frame = 3;
     break;