ffplay: more robust thread creation
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>
Sat, 3 Oct 2015 22:50:06 +0000 (18:50 -0400)
committerMarton Balint <cus@passwd.hu>
Sun, 4 Oct 2015 15:40:30 +0000 (17:40 +0200)
commitc3e8de1c248f8c742dd9e61a0c71ee56bba22c28
tree0a14c16bff320bfab312151af28e4a335e1cfddf
parent59594b11f9629e80f8d38f6b963afc390b26dbdb
ffplay: more robust thread creation

SDL_CreateThread can fail:
https://wiki.libsdl.org/SDL_CreateThread.
This patch makes thread creation more robust in one instance.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
ffplay.c