[MPlayer-users] dvdnav problems 32bit MinGW

Henry defsyn at gmail.com
Sun Nov 6 04:42:18 CET 2011


> I think that is wrong.
> The issue is at least also if not only in MPlayer.
> MPlayer uses off_t, and default MinGW does not have large file support.
> Thus MPlayer has all kinds of issues playing files larger than 2GB.
> You can find a fix e.g. here:
> http://oss.netfarm.it/mplayer/misc/mingwrt_file64.diff
> _
>
That fix does not work. Complains of previous defines and quits on errors.

I believe this output reveals the source of the problem, however:

cc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith
> -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -
> Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement
> -std=gnu99 -Werror-implicit-function-declaration -O4 -march
> =native -mtune=native -pipe -ffast-math -fomit-frame-pointer
> -fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LAR
> GEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg  -fno-common
> -I/mingw/include/freetype2 -I/mingw/include -c -o command.o command.c
> In file included from command.c:27:0:
> stream/stream.h: In function 'stream_seek':
> stream/stream.h:297:3: warning: format '%I64X' expects argument of type
> 'long long unsigned int', but argument 4 has type 'off_t'
> [-Wformat]
> stream/stream.h:301:12: warning: format '%I64x' expects argument of type
> 'long long unsigned int', but argument 4 has type 'off_t'
>  [-Wformat]
>


More information about the MPlayer-users mailing list