diff options
Diffstat (limited to 'src/xine-engine/demux.c')
-rw-r--r-- | src/xine-engine/demux.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/xine-engine/demux.c b/src/xine-engine/demux.c index b93b04370..33477cc0f 100644 --- a/src/xine-engine/demux.c +++ b/src/xine-engine/demux.c @@ -356,8 +356,6 @@ int xine_demux_read_header( input_plugin_t *input, unsigned char *buffer, off_t if (input->get_capabilities(input) & INPUT_CAP_SEEKABLE) { input->seek(input, 0, SEEK_SET); read_size = input->read(input, buffer, size); - if (read_size != size) - return 0; input->seek(input, 0, SEEK_SET); } else if (input->get_capabilities(input) & INPUT_CAP_PREVIEW) { buf = xine_xmalloc(MAX_PREVIEW_SIZE); |