summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 208a5420e..b0da2565d 100644
--- a/src/input/input_file.c
+++ b/src/input/input_file.c
@@ -409,6 +409,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;