[MPlayer-cvslog] r21905 - trunk/libmpdemux/demux_gif.c

reimar subversion at mplayerhq.hu
Sat Jan 13 12:49:20 CET 2007


Author: reimar
Date: Sat Jan 13 12:49:20 2007
New Revision: 21905

Modified:
   trunk/libmpdemux/demux_gif.c

Log:
Cast SWidth/SHeight to uint16_t, since that's what they actually are.


Modified: trunk/libmpdemux/demux_gif.c
==============================================================================
--- trunk/libmpdemux/demux_gif.c	(original)
+++ trunk/libmpdemux/demux_gif.c	Sat Jan 13 12:49:20 2007
@@ -189,8 +189,8 @@
   // video_read_properties() will choke
   sh_video->ds = demuxer->video;
 
-  sh_video->disp_w = gif->SWidth;
-  sh_video->disp_h = gif->SHeight;
+  sh_video->disp_w = (uint16_t)gif->SWidth;
+  sh_video->disp_h = (uint16_t)gif->SHeight;
 
   sh_video->format = mmioFOURCC(8, 'R', 'G', 'B');
   



More information about the MPlayer-cvslog mailing list