[MPlayer-cvslog] r38668 - trunk/libmpcodecs/vf_scale.c

al subversion at mplayerhq.hu
Sat Dec 21 23:48:56 EET 2024


Author: al
Date: Sat Dec 21 23:48:55 2024
New Revision: 38668

Log:
libmpcodecs/vf_scale: Fix a build problem on big endian

Fixes another problem reported in ticket 2424 (comment 12)

Modified:
   trunk/libmpcodecs/vf_scale.c

Modified: trunk/libmpcodecs/vf_scale.c
==============================================================================
--- trunk/libmpcodecs/vf_scale.c	Sat Dec 14 18:35:18 2024	(r38667)
+++ trunk/libmpcodecs/vf_scale.c	Sat Dec 21 23:48:55 2024	(r38668)
@@ -429,7 +429,7 @@ static void scale(struct SwsContext *sws
         int i;
         for(i=0; i<256; i++)
             pal2[i]= bswap_32(((uint32_t*)src[1])[i]);
-        src2[1]= pal2;
+        src2[1]= (uint8_t *)pal2;
     }
 #endif
 


More information about the MPlayer-cvslog mailing list