mirror of
https://github.com/mpv-player/mpv
synced 2024-12-23 23:32:26 +00:00
gcc3 warning fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2081 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
ef67ce917c
commit
59295d1b3d
@ -1,6 +1,7 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "bitmap.h"
|
||||
#include "../error.h"
|
||||
|
@ -1,6 +1,7 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "bitmap.h"
|
||||
#include "../error.h"
|
||||
|
@ -21,8 +21,9 @@
|
||||
50.53 : Res
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "bmp.h"
|
||||
#include "../bitmap.h"
|
||||
|
@ -9,4 +9,4 @@ extern void timerSetHandler( timerTSigHandler handler );
|
||||
extern void timerInit( void );
|
||||
extern void timerDone( void );
|
||||
|
||||
#endif;
|
||||
#endif
|
||||
|
@ -93,11 +93,8 @@ static int control(int cmd,int arg){
|
||||
close(fd);
|
||||
return CONTROL_OK;
|
||||
}
|
||||
else
|
||||
return CONTROL_ERROR;
|
||||
}
|
||||
return CONTROL_ERROR;
|
||||
default:
|
||||
}
|
||||
return CONTROL_UNKNOWN;
|
||||
}
|
||||
|
@ -115,7 +115,7 @@ void mpeg2_allocate_image_buffers (picture_t * picture)
|
||||
#else
|
||||
for(i=0;i<3;i++){
|
||||
#endif
|
||||
base = memalign(64,buff_size);
|
||||
base = (unsigned char *)memalign(64,buff_size);
|
||||
frames[i].base[0] = base;
|
||||
frames[i].base[1] = base + frame_size * 5 / 4;
|
||||
frames[i].base[2] = base + frame_size;
|
||||
|
Loading…
Reference in New Issue
Block a user