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

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21905 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2007-01-13 11:49:20 +00:00
parent f6a9b356cd
commit d765e163b8
1 changed files with 2 additions and 2 deletions

View File

@ -189,8 +189,8 @@ static demuxer_t* demux_open_gif(demuxer_t* demuxer)
// 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');