summaryrefslogtreecommitdiffstats
path: root/libmpdemux/mf.c
Commit message (Collapse)AuthorAgeFilesLines
* windows support: unicode filenameswm42012-03-091-9/+10
| | | | | | | | | | | | | | | | | | | Windows uses a legacy codepage for char* / runtime functions accepting char *. Using UTF-8 as the codepage with setlocale() is explicitly forbidden. Work this around by overriding the MSVCRT functions with wrapper macros, that assume UTF-8 and use "proper" API calls like _wopen etc. to deal with unicode filenames. All code that uses standard functions that take or return filenames must now include osdep/io.h. stat() can't be overridden, because MinGW-w64 itself defines "stat" as a macro. Change code to use use mp_stat() instead. This is not perfectly clean, but still somewhat sane, and much better than littering the rest of the mplayer code with MinGW specific hacks. It's also a bit fragile, but that's actually little different from the previous situation. Also, MinGW is unlikely to ever include a nice way of dealing with this.
* cleanup: remove more warningsClément Bœsch2011-05-021-1/+1
|
* libmpdemux/mf.c: Don't hardcode filename lengthranma2011-01-311-2/+3
| | | | | | | | | Use limits.h to get the maximum length instead of hardcoding it. Original patch by Sang-Uok Kum. Signed-off-by: Tobias Diedrich <ranma@google.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32766 b3059339-0415-0410-9bf9-f77b7e298cf2
* Delete things related to old translation systemUoti Urpala2010-03-101-1/+0
| | | | | Remove the help/ subdirectory, configure code to create toplevel help_mp.h, and all the '#include "help_mp.h"' lines from .c files.
* Merge svn changes up to r30375Uoti Urpala2010-01-251-0/+1
|\
| * Add a proper header for our strsep implementation so strsep willreimar2010-01-171-0/+1
| | | | | | | | | | | | | | not be used without a declaration, causing issues on 64 bit systems. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30355 b3059339-0415-0410-9bf9-f77b7e298cf2
| * whitespace cosmetics: Remove all trailing whitespace.diego2009-05-131-13/+13
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Remove trailing whitespace from most filesUoti Urpala2009-07-071-14/+13
|/
* Add standard license header to all files in libmpdemux.diego2009-05-081-0/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29280 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change mf_fps to doublereimar2008-02-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25996 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add explicit location for headers from the stream/ directory.diego2007-03-151-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22623 b3059339-0415-0410-9bf9-f77b7e298cf2
* mf.[hc] belong to libmpdemuxben2006-08-031-0/+153
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19306 b3059339-0415-0410-9bf9-f77b7e298cf2
* introduce new 'stream' directory for all stream layer related components and ↵ben2006-07-311-153/+0
| | | | | | split them from libmpdemux git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19277 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix potential integer overflows in memory allocation.rtogni2006-06-041-1/+1
| | | | | | | Patch by Rich and me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18559 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support to get the list of files from a file containing one filenamealbeu2005-11-261-1/+30
| | | | | | | per line. Patch from devik (devik .at. cdi .dot. cz). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17051 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unify include path handling, -I.. is in CFLAGS.diego2005-11-181-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17013 b3059339-0415-0410-9bf9-f77b7e298cf2
* enable mf support on mingw32faust32003-04-251-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9985 b3059339-0415-0410-9bf9-f77b7e298cf2
* temporary disable mf support for systems without globfaust32003-04-041-1/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9834 b3059339-0415-0410-9bf9-f77b7e298cf2
* Stream cleanup, don't use blah_on options anymore.albeu2003-03-301-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9747 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed nonsense (and confusing) defaultsarpi2003-01-281-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9150 b3059339-0415-0410-9bf9-f77b7e298cf2
* stream layer cleanup - part 1arpi2002-09-151-5/+3
| | | | | | | | STREAMTYPE_MF removed, using STREAMTYPE_DUMMY instead mf.c/demux_mf updated to do the opening in demux_open instead of stream_open git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7408 b3059339-0415-0410-9bf9-f77b7e298cf2
* ooops :)atmos42002-03-261-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5355 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fileslist support for mf demuxer, delemited by ',' and change mf fps to float.atmos42002-03-261-2/+27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5353 b3059339-0415-0410-9bf9-f77b7e298cf2
* finalize mfi support.pontscho2002-02-071-27/+45
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4566 b3059339-0415-0410-9bf9-f77b7e298cf2
* add mfi supportpontscho2002-02-061-0/+74
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4550 b3059339-0415-0410-9bf9-f77b7e298cf2