mirror of https://github.com/mpv-player/mpv
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:
parent
f6a9b356cd
commit
d765e163b8
|
@ -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');
|
||||
|
||||
|
|
Loading…
Reference in New Issue