Changeset 130 for branches/v2.9_Lars/classes/mm-progs/videoplayer
- Timestamp:
- Nov 9, 2023, 5:42:55 PM (2 years ago)
- Location:
- branches/v2.9_Lars
- Files:
-
- 3 edited
-
. (modified) (1 prop)
-
classes/mm-progs/videoplayer/makefile (modified) (2 diffs)
-
classes/mm-progs/videoplayer/mmplayer.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/v2.9_Lars
- Property svn:mergeinfo changed
/trunk merged: 107-113,126-129
- Property svn:mergeinfo changed
-
branches/v2.9_Lars/classes/mm-progs/videoplayer/makefile
r116 r130 3 3 include ../../../make.inc 4 4 5 CC = gcc5 CC = icc 6 6 LIB_DIR = $d:/emx/lib 7 7 #CPPFLAGS = -Ge- /Gm+ -G4 -Gl /O+ -Oc+ -Ol 8 8 #CPPFLAGS = -O -Zomf -Zcrtdll -Zmtd -s 9 CPPFLAGS = -O -Wall -Zomf -Zmt -s 9 #CPPFLAGS = -O -Wall -Zomf -Zmt -s 10 CPPFLAGS = -Ge+ /Gm+ -G5 /Ss -Gl /O+ -Oc+ -Ol- /Q+ 10 11 INC = ../include -I ../../../classes/inc -I ../../../common_functions/include 11 12 DEFS = … … 20 21 all: mmplayer.exe vioplayer.exe 21 22 22 $(LIBDIR)/%.obj: $(COMMONSRC)/%.c 23 gcc -c -Wall -o$@ -Zomf -I$(INC) $< 24 23 $(LIBDIR)/%.obj: $(COMMONSRC)/%.c 24 # gcc -c -Wall -o$@ -Zomf -I$(INC) $< 25 $(CC) $(CPPFLAGS) /C+ -I$(INC) /Fo$@ $< 25 26 %.obj: %.c 26 gcc -c -Wall -o$@ -Zomf -I$(INC) $< 27 27 # gcc -c -Wall -o$@ -Zomf -I$(INC) $< 28 $(CC) $(CPPFLAGS) /C -I$(INC) /Fo$@ $< 28 29 mmplayer.exe: mmplayer.c $(OBJECTS) $(OBJS2) makefile 29 30 #Use this command to link dynamicaly 30 gcc $(CPPFLAGS) -I$(INC) mmplayer.c $(OBJECTS) $(OBJS2) -lmmpm2.lib mmplayer.def31 $(CC) $(CPPFLAGS) -I$(INC) mmplayer.c $(OBJECTS) $(OBJS2) mmpm2.lib mmplayer.def 31 32 rc mmplayer.rc mmplayer.exe 32 33 33 34 vioplayer.exe: vioplayer.c 34 gcc $(CPPFLAGS) -I$(INC) vioplayer.c $(LIBDIR)/sys_funcs.obj -lmmpm2.lib mmplayer.def35 $(CC) $(CPPFLAGS) -I$(INC) vioplayer.c $(LIBDIR)/sys_funcs.obj mmpm2.lib mmplayer.def 35 36 36 37 clean: -
branches/v2.9_Lars/classes/mm-progs/videoplayer/mmplayer.c
r88 r130 954 954 if(lPos/1000!=lLastPos) { 955 955 /* Prevent flickering */ 956 sprintf(chrCommand, "% d:%02d", lPos/1000/60, (lPos/1000)%60);956 sprintf(chrCommand, "%li:%02li", lPos/1000/60, (lPos/1000)%60); 957 957 WinSetWindowText(WinWindowFromID(hwnd, IDST_MMPLAYERPLAYTIME), chrCommand); 958 958 lLastPos=lPos/1000; … … 1027 1027 1028 1028 if((fealist=malloc(0x00010000L /* Add some space */ 1029 ))==NULL HANDLE)1029 ))==NULL) 1030 1030 return FALSE; 1031 1031
Note:
See TracChangeset
for help on using the changeset viewer.
