summaryrefslogtreecommitdiff
path: root/src/libw32dll/wine/win32.c
AgeCommit message (Collapse)Author
2008-11-20Some warning fixes: XINE_FORMAT_SCANF, statics in headers, consts, ...František Dvořák
Add warning flags to the DEBUG_CFLAGS too.
2008-05-22Fix w32dll build failure.Darren Salt
2008-05-07Use asprintf() rather than malloc() + sprintf().Diego 'Flameeyes' Pettenò
Using asprintf() instead of malloc() + sprintf() reduces the lines of code in xine-lib (moving the allocation to the C library or asprintf replacement), makes it safer to access the string and can also improve performance whenever the value returned by a function was used as parameter, as before it had to run the function twice in almost every case (once for strlen(), once for sprintf()).
2008-03-02Backport the MANGLE macro handling from 1.2-libavutil branch (and adapt).Diego 'Flameeyes' Pettenò
2007-11-19add support for GNU/kFreeBSDPetr Salinger ext:(%20)
It changes some "defined (__FreeBSD__)" into "defined (__FreeBSD_kernel__)" and "__FreeBSD_version" into "__FreeBSD_kernel_version". The changes are performed on places, where feature of kernel is tested. On some other places, feature of userland/libc is tested, on them "defined (__FreeBSD__)" remains. As proposed, include/configure.h cause __FreeBSD_kernel__ be defined if __FreeBSD__ is defined. --HG-- extra : transplant_source : %25%96K%05%E4Y%B15%94%60%15%FE1%8Ah%26Xy%8C/
2007-04-07Use CC_ATTRIBUTE_FORMAT; replace __attribute((format(printf, ...))) accordingly.Darren Salt
2006-10-10Install inttypes.h on stone age platforms (xine.h needs it).František Dvořák
Small improvements. CVS patchset: 8332 CVS date: 2006/10/10 21:39:56
2006-09-25Assign a character to a char variable, rather than a number. Hopefully will ↵Diego 'Flameeyes' Pettenò
remove a false positive in Coverity. CVS patchset: 8278 CVS date: 2006/09/25 23:22:21
2006-04-21Lots of printf format string fixups and a few printf attributes for functions.Darren Salt
No __GNUC__ guarding done: an unguarded __attribute__ is already present. CVS patchset: 7976 CVS date: 2006/04/21 22:57:26
2006-04-051) various warning fixesFrantišek Dvořák
2) [coverity] fixes: - 279 (w32): test should be on input parametr type, not typeW - 267 (aout): can be ignored but there was warning anyway - 234 (w32): missing free on error & exit - 152 (w32): missing free on error & exit - 148 (w32): fixed bound of static array in test - 101 (ffdec): defense code when avodec_encode_video will fail (just defense to the future, should never happen with current ffmpeg in xine) - 98, 99 (w32): check negative handle by _x_assert (it's used as index to array) - 90 (w32): negate pointer check (+added check for size) - 89 (w32): added NULL and size check CVS patchset: 7959 CVS date: 2006/04/05 22:12:17
2006-03-26Fix one more debug output if would be enabled (format string x number of ↵František Dvořák
arguments). CVS patchset: 7953 CVS date: 2006/03/26 18:24:11
2006-03-26[coverity]František Dvořák
Small change due to false positive: CID: 258 Checker: REVERSE_INULL (help) File: xine-lib/src/libw32dll/wine/win32.c Function: expRegOpenKeyA Description: Pointer "phkResult" dereferenced before NULL check Debug output fix: CID: 259 Checker: REVERSE_INULL (help) File: xine-lib/src/libw32dll/wine/win32.c Function: expSetFilePointer Description: Pointer "ext" dereferenced before NULL check CVS patchset: 7952 CVS date: 2006/03/26 18:15:03
2005-05-07*BUGFIX*František Dvořák
gcc4 patches from Dams Nadé (livna.org) and Keenan Pepper. CVS patchset: 7527 CVS date: 2005/05/07 09:11:37
2005-01-06**BUGFIX**James Stembridge
Fix (from MPlayer) for Windows Media 9 Voice codec CVS patchset: 7333 CVS date: 2005/01/06 20:58:56
2004-11-24wmv9 may use floor(), borrow it from mplayerMiguel Freitas
CVS patchset: 7159 CVS date: 2004/11/24 21:43:59
2004-07-29several fixes to implementation of critical sections using pthreadsMiguel Freitas
(critical section is defined as recursive by MS). strict posix systems will be happier now. workaround a crash with QT dll introduced with the previous commit. CVS patchset: 6862 CVS date: 2004/07/29 18:47:36
2004-07-29fix from Casper Boemann to reuse the stubs for unresolved symbolsMiguel Freitas
CVS patchset: 6860 CVS date: 2004/07/29 14:45:03
2003-12-24time for some Christmas presents...Michael Roitzsch
libw32 compiles here without a single compiler warning CVS patchset: 5946 CVS date: 2003/12/24 16:55:35
2003-12-01Fix QDM2 (qt-audio) decoder not working, bug in CreateMutex (win32)Ewald Snel
CVS patchset: 5821 CVS date: 2003/12/01 22:04:52
2003-05-16fix compilation problem with "make debug": the CFLAGS would be overridden in theMichael Roitzsch
wrong order, when doing a "make debug" from outside src/libw32dll/wine (DEBUG_CFLAGS is set in src/libw32dll/wine's Makefile, but the CFLAGS given on the command line take precedence, therefore WIN32_PATH would be undefined) I hope I have not broken wine stuff. (Yes, the warning is frightening me...) I have checked using some Windows DLLs and the Quicktime SVQ3 DLL and they worked fine. Could everyone double check, if the win32-DLLs still work? CVS patchset: 4864 CVS date: 2003/05/16 11:34:37
2003-05-15Try to get it to compile.James Courtier-Dutton
CVS patchset: 4850 CVS date: 2003/05/15 14:07:28
2003-02-17- fix LDT clash with linuxthreadsMiguel Freitas
- comment useless calls. some people really don't know what this thing does, they probably think that lots of Setup_FS_Segment() all over will make win32 gods happy. :) - fix vfw (indeo) and quicktime segfaults in short: xine now plays indeo, animatrix and the hulk trailers. CVS patchset: 4178 CVS date: 2003/02/17 03:18:02
2003-01-18VoxWare hack from MPlayerThibaut Mattern
CVS patchset: 3957 CVS date: 2003/01/18 16:27:54
2002-12-18first draft of quicktime binary-only codec supportGuenter Bartsch
CVS patchset: 3580 CVS date: 2002/12/18 04:00:45
2002-10-07Remove the vsscanf prototype for solaris, it's incompatible with the oneJuergen Keil
contained in the solaris9 <stdio.h> CVS patchset: 2800 CVS date: 2002/10/07 14:17:05
2002-06-21update win32 codec loading codeMiguel Freitas
- shiny new win32 crap from avifile and mplayer! - shiny new compilation warnings! - use directshow filter to decode msmpeg v1/v2 - disable SYNC_SHUTDOWN ugly hack (will be removed soon, i hope) CVS patchset: 2114 CVS date: 2002/06/21 01:44:17
2002-04-28Fixes for some compile errors.James Courtier-Dutton
CVS patchset: 1803 CVS date: 2002/04/28 23:47:50
2002-02-02this one is usedMiguel Freitas
CVS patchset: 1469 CVS date: 2002/02/02 14:30:08
2002-02-01Re-add 'regs' variable. It's used on *BSD and SolarisJuergen Keil
CVS patchset: 1466 CVS date: 2002/02/01 21:48:42
2002-02-01Commented out variable declarations leading to 'unused variable' warningsRich J Wareham
CVS patchset: 1465 CVS date: 2002/02/01 14:23:13
2002-01-07Remove extra MSDOS \r at end of each line, confuses gcc under unixJuergen Keil
CVS patchset: 1363 CVS date: 2002/01/07 12:21:22
2002-01-07acelpnet should work now (some files updated from mplayer cvs)Miguel Freitas
CVS patchset: 1360 CVS date: 2002/01/07 02:17:10
2001-11-29Fix (weird) compilation problem.Daniel Caujolle-Bert
CVS patchset: 1134 CVS date: 2001/11/29 08:45:17
2001-11-29should avoid some segfaultsMiguel Freitas
CVS patchset: 1132 CVS date: 2001/11/29 01:29:17
2001-11-07- update win32 loaderMiguel Freitas
- dynamic buffers fixes a lot of audio problems CVS patchset: 974 CVS date: 2001/11/07 02:15:24
2001-10-04Fix a few warnings about missing prototypesJuergen Keil
CVS patchset: 733 CVS date: 2001/10/04 11:45:38
2001-09-20Indeo Video 4.1 and 5.0 format fixed (by importing the Event/SemaphoreJuergen Keil
implementation from avifile/mplayer). Indeo Video 3.2/4.1/5.0 should work now. (Indeo Video 3.1 may work, too but this format still has problems in the AVI demuxer) TSC based QueryPerformanceCounter() for x86 CPUs that have such a counter. CVS patchset: 672 CVS date: 2001/09/20 09:33:23
2001-09-18ffmpeg apparently does not support MSMPEG4 v1/v2 format yet. Trying to handleJuergen Keil
MSMPEG4 v1/v2 formats using the libw32dll plugin. But at least for XShm video output, libw32dll is too slow, converting RGB -> YUY2 in the w32dll plugin, and converting back from YUY2 -> RGB in the video out driver :-/ CVS patchset: 661 CVS date: 2001/09/18 17:41:47
2001-09-16Update docs. Fixed some warnings. configure.in is ready for 0.9.1.Daniel Caujolle-Bert
CVS patchset: 646 CVS date: 2001/09/16 23:13:45
2001-07-14made win32 path configurableGuenter Bartsch
CVS patchset: 278 CVS date: 2001/07/14 16:55:11
2001-07-04Add prototypes for all functions in wine/*, to catch __stdcall functionuid56437
attribute mismatches between function prototypes and function definitions. Such a __stdcall mismatch can corrupt the cpu's stack, because both the caller and the callee clean up function parameter from the stack (or none of them removes the function parameters) wine/* should be less sensitive to optimzation options due to this change. CVS patchset: 245 CVS date: 2001/07/04 14:05:09
2001-06-21solaris and stability patches provided by Juergen KeilGuenter Bartsch
CVS patchset: 211 CVS date: 2001/06/21 17:34:23
2001-06-09finally - w32codec works againGuenter Bartsch
CVS patchset: 137 CVS date: 2001/06/09 18:40:41