ffplay error

This all we are doing for beagleboard

This is the configure command we have used....for configuring ffmpeg

    ./configure --arch=arm --target-os=linux --enable-cross-compile --
cross-prefix=arm-none-linux-gnueabi- --cc=arm-none-linux-gnueabi-gcc --
prefix=/home/Lucky/Lucky_Data/ACP_project/SDL-1.2.14 --enable-gpl --
enable-x11grab --enable-avfilter --enable-pthreads --enable-postproc --
enable-avfilter-lavf --enable-filter=drawtext --enable-static --enable-
runtime-cpudetect --enable-hwaccel=h264_vaapi --enable-swscale --
enable-debug --disable-shared --extra-cflags="$(pkg-config sdl --
cflags)" --extra-ldflags="$(pkg-config sdl --libs)"

make install

We have found that ffplay has sdl dependancies....we have resolved
those and any how generate the ffplay executable using
codesourcery,but when executed on board it gives segfault,the reason
we found is that SDL_SetVideoMode fails,it returns NULL screen,what
could be reason for this call getting failed,please help ?