changeset 4948:869e5bff8dab

optim :)
author arpi
date Wed, 06 Mar 2002 15:25:10 +0000
parents 2cc47599b571
children 48bfd1d278d1
files libmpcodecs/vd_qtrpza.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_qtrpza.c	Wed Mar 06 15:00:38 2002 +0000
+++ b/libmpcodecs/vd_qtrpza.c	Wed Mar 06 15:25:10 2002 +0000
@@ -60,7 +60,7 @@
     }
     
     qt_decode_rpza(data, len, mpi->planes[0], sh->disp_w, sh->disp_h,
-	((mpi->imgfmt&255)+7)/8);
+	mpi->bpp/8);
     
     return mpi;
 }