summaryrefslogtreecommitdiffstats
path: root/loader/dmo/DMO_VideoDecoder.c
Commit message (Collapse)AuthorAgeFilesLines
* cleanup: Silence compilation warnings on MinGW-w64wm42012-03-011-2/+3
| | | | | | | | | | | | | | | | | | | Some of the code, especially the dshow and windows codec loader parts, are extremely hacky and likely full of bugs. The goal is merely getting rid of warnings that could obscure more important warnings and actual bugs, instead of fixing actual problems. This reduces the number of warnings from over 500 to almost the same as when compiling on Linux. Note that many problems stem from using the ancient wine-derived windows headers. There are some differences to the "proper" windows header. Changing the code to compile with the proper headers would be too much trouble, and it still has to work on Unix. Some of the changes might actually break compilation on legacy MinGW, but we don't support that anymore. Always use MinGW-w64, even when compiling to 32 bit. Fixes some warnings in the win32 loader code on Linux too.
* Merge svn changes up to r30216Uoti Urpala2010-01-081-6/+6
|\
| * Drop -Iloader from CPPFLAGS for the loader subdirectory.diego2010-01-041-6/+6
| | | | | | | | | | | | | | Instead use full relative paths in #includes. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30212 b3059339-0415-0410-9bf9-f77b7e298cf2
| * whitespace cosmetics: Remove all trailing whitespace.diego2009-05-131-17/+17
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Remove trailing whitespace from most filesUoti Urpala2009-07-071-18/+17
|/
* Use consistent #include paths without "../".diego2008-04-281-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26576 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace __MINGW32__ preprocessor check with proper HAVE_SYS_MMAN_H check.diego2008-03-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26136 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix a ton of illegal identifiers. Identifiers starting with __ or _ and adiego2008-01-201-3/+3
| | | | | | | | capital letter are reserved for the system, those starting with _ are reserved at the file level. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25822 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes:diego2007-09-101-2/+0
| | | | | | | | | | dmo/DMO_VideoDecoder.c: In function 'DMO_VideoDecoder_DecodeInternal': dmo/DMO_VideoDecoder.c:299: warning: unused variable 'ptr' dmo/DMO_VideoDecoder.c: In function 'DMO_VideoDecoder_SetDestFmt': dmo/DMO_VideoDecoder.c:366: warning: unused variable 'stoped' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24412 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of superfluous NOAVIFILE_HEADERS #define, it was always enabled anddiego2007-06-021-10/+0
| | | | | | | cluttered the code. Blessed by Reimar. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23447 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use explicit path for headers from the dshow/ subdirectory.diego2007-03-151-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22625 b3059339-0415-0410-9bf9-f77b7e298cf2
* Precent overflow of this->m_sVhdr->bmiHeader buffer, may have been rtogni2007-02-111-0/+1
| | | | | | | | exploitable. Reported by Moritz Jodeit git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22204 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove illegal definition of underscored-prefixed symbol "__MODULE__":gpoirier2007-01-261-2/+0
| | | | | | | | | | | | | | All underscored-prefixed symbols have the right re-defined by the compiler, so it's definitely not safe to use any. ICC doesn't seem to like it, GCC doesn't seem to care. Original thread: date: Jan 25, 2007 2:41 PM subject: [MPlayer-dev-eng] [PATCH] remove illegal underscored-prefixed symbols AND date: 01/25/2007 11:43 AM subject: Re: [MPlayer-dev-eng] [PATCH] compiling with Intel C git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22019 b3059339-0415-0410-9bf9-f77b7e298cf2
* rm unnecesary casts from void* - part 2reynaldo2006-07-021-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18883 b3059339-0415-0410-9bf9-f77b7e298cf2
* hardcode SYNC flag, so no problems could rise if first frame is skippediive2005-07-051-1/+1
| | | | | | | | frame skipping is still done by passing NULL buffer to the decoder patch by Shachar Raindel <shacharr at gmail.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15920 b3059339-0415-0410-9bf9-f77b7e298cf2
* This currently sends control characters to the terminal instead ofrtognimp2005-05-261-14/+18
| | | | | | | | | meaningful names. Since some names are longer than 4 characters, I propose the following approach. Patch by + a ! guru #at# sympatico ! ca + git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15575 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix for the no video/black screen with some dmo/wmv9 moviespl2003-09-201-2/+3
| | | | | | | (for some videos: bits=12 and once /8 the allocated buffer is 50% too small) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10888 b3059339-0415-0410-9bf9-f77b7e298cf2
* last mingw32 support patch by Sascha Sommeralex2003-04-241-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9979 b3059339-0415-0410-9bf9-f77b7e298cf2
* cygwin support patch by Sascha Sommer and some fixes by mealex2003-04-211-1/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9968 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10lalex2003-04-211-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9964 b3059339-0415-0410-9bf9-f77b7e298cf2
* cbAlign=1 fix for proper Windows support (noticed by Sascha Sommer)alex2003-02-251-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9504 b3059339-0415-0410-9bf9-f77b7e298cf2
* compiler warning fixesarpi2002-12-141-1/+2
| | | | | | | based on patch by Dominik Mierzejewski <dominik@rangers.eu.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8452 b3059339-0415-0410-9bf9-f77b7e298cf2
* DMO interfaces (copied/converted(c++->c) from avifile)arpi2002-11-261-0/+552
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8295 b3059339-0415-0410-9bf9-f77b7e298cf2