summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/demuxers/demux_avi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/demuxers/demux_avi.c b/src/demuxers/demux_avi.c
index ab3bcfcc2..5da05b09a 100644
--- a/src/demuxers/demux_avi.c
+++ b/src/demuxers/demux_avi.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: demux_avi.c,v 1.150 2003/03/02 15:15:07 tmattern Exp $
+ * $Id: demux_avi.c,v 1.151 2003/03/02 16:01:35 tmattern Exp $
*
* demultiplexer for avi streams
*
@@ -1701,7 +1701,8 @@ static demux_plugin_t *open_plugin (demux_class_t *class_gen, xine_stream_t *str
case METHOD_BY_CONTENT:
- if (input->get_capabilities(input) & INPUT_CAP_BLOCK) {
+ if ((input->get_capabilities(input) & INPUT_CAP_BLOCK) ||
+ (this->streaming)) {
printf ("demux_avi: AVI_init failed (AVI_errno: %d)\n",
this->AVI_errno);
free (this);