[MPlayer-dev-eng] uneeded if-def in mf demuxer (at least imho)

Gianluigi Tiesi mplayer at netfarm.it
Fri Nov 16 02:16:48 CET 2007



This seems pointless to me:

#ifdef WIN32
  if ( !( f=fopen( mf->names[mf->curr_frame],"rb" ) ) ) return 0;
#else
  if ( !( f=fopen( mf->names[mf->curr_frame],"r" ) ) ) return 0;
#endif

rb is enough unix system will just ignore the flag
or there is around an arch that will complain?

Regards
-- 
Gianluigi Tiesi <sherpya at netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/



More information about the MPlayer-dev-eng mailing list