[FFmpeg-cvslog] r11662 - trunk/configure
diego
subversion
Tue Jan 29 10:33:30 CET 2008
Author: diego
Date: Tue Jan 29 10:33:30 2008
New Revision: 11662
Log:
Pass argc and argv to the main function of the SDL tests.
This appears to be required on Windows and does no harm on Linux.
closes issue 344, patch by jdm
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Tue Jan 29 10:33:30 2008
@@ -493,7 +493,7 @@ check_func2(){
done
check_ld "$@" <<EOF && enable $func
$incs
-int main(void){
+int main(int argc, char **argv){
(void) $func;
return 0;
}
@@ -1706,7 +1706,7 @@ if "${SDL_CONFIG}" --version >/dev/null
enable sdl
check_cc $sdl_cflags <<EOF && enable sdl_video_size
#include <SDL.h>
-int main(void){
+int main(int argc, char **argv){
const SDL_VideoInfo *vi = SDL_GetVideoInfo();
int w = vi->current_w;
return 0;
More information about the ffmpeg-cvslog
mailing list