summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorUlrich Eckhardt <doomster@knuut.de>2010-02-21 20:12:01 +0100
committerUlrich Eckhardt <doomster@knuut.de>2010-02-21 20:12:01 +0100
commitb808b9acc254027fa881c3123ab1b73984e2c1dd (patch)
tree03d628842af928796156320ef7336433ca8d2b4f /win32
parent293a8f011bc74b9089cff8c1a52e51d4cb578b2d (diff)
downloadxine-lib-b808b9acc254027fa881c3123ab1b73984e2c1dd.tar.gz
xine-lib-b808b9acc254027fa881c3123ab1b73984e2c1dd.tar.bz2
Avoid invalid fstat calls when opening empty files
When opening empty files with xine, it reports: > This is xine (X11 gui) - a free video player v0.99.6cvs. > (c) 2000-2007 The xine Team. > system call fstat: Bad file descriptor > system call fstat: Bad file descriptor > call failed > object not accessible > object not accessible > call failed The problem was that when detecting an empty file, it is closed, but the file descriptor in struct file_input_plugin_t is still left at the previous value, causing the errors when it is used later.
Diffstat (limited to 'win32')
0 files changed, 0 insertions, 0 deletions