mirror of
https://github.com/mpv-player/mpv
synced 2025-01-04 14:12:10 +00:00
Remove a pointless #ifdef
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25062 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
d0326807a7
commit
aa93e8e60d
@ -41,11 +41,7 @@ static int demux_mf_fill_buffer(demuxer_t *demuxer, demux_stream_t *ds){
|
|||||||
stat( mf->names[mf->curr_frame],&fs );
|
stat( mf->names[mf->curr_frame],&fs );
|
||||||
// printf( "[demux_mf] frame: %d (%s,%d)\n",mf->curr_frame,mf->names[mf->curr_frame],fs.st_size );
|
// printf( "[demux_mf] frame: %d (%s,%d)\n",mf->curr_frame,mf->names[mf->curr_frame],fs.st_size );
|
||||||
|
|
||||||
#ifdef WIN32
|
|
||||||
if ( !( f=fopen( mf->names[mf->curr_frame],"rb" ) ) ) return 0;
|
if ( !( f=fopen( mf->names[mf->curr_frame],"rb" ) ) ) return 0;
|
||||||
#else
|
|
||||||
if ( !( f=fopen( mf->names[mf->curr_frame],"r" ) ) ) return 0;
|
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
sh_video_t * sh_video = demuxer->video->sh;
|
sh_video_t * sh_video = demuxer->video->sh;
|
||||||
demux_packet_t * dp = new_demux_packet( fs.st_size );
|
demux_packet_t * dp = new_demux_packet( fs.st_size );
|
||||||
|
Loading…
Reference in New Issue
Block a user