diff options
Diffstat (limited to 'mencoder.c')
-rw-r--r-- | mencoder.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mencoder.c b/mencoder.c index fd57a6f576..ccb33894ac 100644 --- a/mencoder.c +++ b/mencoder.c @@ -77,7 +77,7 @@ int vo_config_count=0; //-------------------------- // cache2: -int stream_cache_size=0; +int stream_cache_size=-1; #ifdef USE_STREAM_CACHE extern int cache_fill_status; #else @@ -446,7 +446,7 @@ if(stream->type==STREAMTYPE_DVD){ } #endif - if(stream_cache_size) stream_enable_cache(stream,stream_cache_size*1024,0,0); + if(stream_cache_size>0) stream_enable_cache(stream,stream_cache_size*1024,0,0); if(demuxer2) audio_id=-2; /* do NOT read audio packets... */ |