changeset 21887:36cc5a884b6a

Cast SWidth/SHeight to uint16_t, since that's what they actually are.
author reimar
date Sat, 13 Jan 2007 11:49:20 +0000
parents 84b9d245ee06
children b36abbbca01e
files libmpdemux/demux_gif.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_gif.c	Sat Jan 13 11:46:43 2007 +0000
+++ b/libmpdemux/demux_gif.c	Sat Jan 13 11:49:20 2007 +0000
@@ -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');