summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-12 17:04:43 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-12 17:04:43 +0000
commitf0bc805baf5c1fc542b63d37af8dc30bb3b615fc (patch)
treefb38d81e9a028f75c75ff9ddfb5d26434da4231f
parented93a4d20c09a21123b8364341fdf4ca69a2f885 (diff)
downloadmpv-f0bc805baf5c1fc542b63d37af8dc30bb3b615fc.tar.bz2
mpv-f0bc805baf5c1fc542b63d37af8dc30bb3b615fc.tar.xz
mpng: 32bpp support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4673 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--dec_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dec_video.c b/dec_video.c
index e9e3c456df..826ed157fc 100644
--- a/dec_video.c
+++ b/dec_video.c
@@ -1157,7 +1157,7 @@ if(verbose>1){
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;