summaryrefslogtreecommitdiff
path: root/src/input/input_file.c
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2010-03-07 17:31:35 +0000
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2010-03-07 17:31:35 +0000
commit1df1992a4b5b23cabb2851fe902b214f6ceb9381 (patch)
treee644ddc4fdfd741c57a2dd098691e260ffc86c99 /src/input/input_file.c
parent755a021dd10786f564fba86be431f04017348128 (diff)
parent82083a26798febc8184717d4b6a3eda94fb48925 (diff)
downloadxine-lib-1df1992a4b5b23cabb2851fe902b214f6ceb9381.tar.gz
xine-lib-1df1992a4b5b23cabb2851fe902b214f6ceb9381.tar.bz2
Merge from 1.1.
Diffstat (limited to 'src/input/input_file.c')
-rw-r--r--src/input/input_file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input/input_file.c b/src/input/input_file.c
index 29e8f74ca..2fcd87d73 100644
--- a/src/input/input_file.c
+++ b/src/input/input_file.c
@@ -408,6 +408,7 @@ static int file_plugin_open (input_plugin_t *this_gen ) {
if (file_plugin_get_length (this_gen) == 0) {
_x_message(this->stream, XINE_MSG_FILE_EMPTY, this->mrl, NULL);
close (this->fh);
+ this->fh = -1;
xine_log (this->stream->xine, XINE_LOG_MSG,
_("input_file: File empty: >%s<\n"), this->mrl);
return -1;