comparison mencoder.c @ 34704:cc658103f214

Allow using a cache size of up to 4 TB. Obviously anything close to 4 GB will always fail on 32 bit systems.
author reimar
date Sun, 04 Mar 2012 14:47:37 +0000
parents fede902a408c
children d32f75f79517
comparison
equal deleted inserted replaced
34703:4ccdcd1ff6ba 34704:cc658103f214
676 } 676 }
677 #endif 677 #endif
678 678
679 stream->start_pos+=seek_to_byte; 679 stream->start_pos+=seek_to_byte;
680 680
681 if(stream_cache_size>0) stream_enable_cache(stream,stream_cache_size*1024,0,0); 681 if(stream_cache_size>0) stream_enable_cache(stream,stream_cache_size*1024ull,0,0);
682 682
683 if(demuxer2) audio_id=-2; /* do NOT read audio packets... */ 683 if(demuxer2) audio_id=-2; /* do NOT read audio packets... */
684 684
685 demuxer=demux_open(stream,file_format,audio_id,video_id,dvdsub_id,filename); 685 demuxer=demux_open(stream,file_format,audio_id,video_id,dvdsub_id,filename);
686 if(!demuxer){ 686 if(!demuxer){