mirror of https://github.com/mpv-player/mpv
fix signess warning
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15572 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
2b56be8a44
commit
a6158451ec
|
@ -131,7 +131,7 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, uint32
|
|||
aspect_save_orig(width,height);
|
||||
aspect_save_prescale(d_width,d_height);
|
||||
aspect_save_screenres(device_width,device_height);
|
||||
aspect(&d_width,&d_height,A_NOZOOM);
|
||||
aspect((int *)&d_width,(int *)&d_height,A_NOZOOM);
|
||||
|
||||
movie_aspect = (float)d_width/(float)d_height;
|
||||
old_movie_aspect = movie_aspect;
|
||||
|
@ -542,7 +542,7 @@ static uint32_t control(uint32_t request, void *data, ...)
|
|||
//set image_rec
|
||||
if(vo_keepaspect)
|
||||
{
|
||||
aspect( &d_width, &d_height, A_NOZOOM);
|
||||
aspect( (int *)&d_width, (int *)&d_height, A_NOZOOM);
|
||||
d_height = ((float)d_width/movie_aspect);
|
||||
|
||||
aspectX = (float)((float)frame.size.width/(float)d_width);
|
||||
|
|
Loading…
Reference in New Issue