summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/ad_qtaudio.c
Commit message (Collapse)AuthorAgeFilesLines
* cleanup: Silence compilation warnings on MinGW-w64wm42012-03-011-2/+1
| | | | | | | | | | | | | | | | | | | 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.
* ad_qtaudio: don't run win32 loader code when it's not usedreimar2011-05-021-2/+2
| | | | | | | Do not try to set up the FS segment when using quicktime to decode, it makes no sense to do that. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33259 b3059339-0415-0410-9bf9-f77b7e298cf2
* ad_qtaudio: fix use with the libavformat mov demuxerfaust32011-02-151-2/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32863 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanup: #include loader/wine/winbase.h instead of local declarationsdiego2010-11-021-4/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31414 b3059339-0415-0410-9bf9-f77b7e298cf2
* Merge svn changes up to r30663Uoti Urpala2010-03-101-0/+9
|\ | | | | | | | | | | | | Conflicts: gui/cfg.c libmpcodecs/vd_dmo.c mplayer.c
| * Fix the stack crash(SYS3171) on OS/2 when playing qtaudio/qtvideo.komh2010-02-191-0/+9
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30656 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r30643Uoti Urpala2010-03-101-5/+0
|\|
| * libmpcodecs: Remove pointless leftover '#if 1' preprocessor instructions.diego2010-02-171-5/+0
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30608 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Mark all ad_info_t/vd_info_t structure declarations as const.diego2010-02-121-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30546 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r30463Uoti Urpala2010-03-091-0/+18
|\| | | | | | | | | | | Note that r30455 is wrong, that commit does not in fact change the default behavior as claimed in the commit message. It only breaks "-af-adv force=0", which was already pretty much useless though.
| * Add missing license headers to all files in the libmpcodecs directory.diego2010-01-301-0/+18
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30463 b3059339-0415-0410-9bf9-f77b7e298cf2
| * whitespace cosmetics: Remove all trailing whitespace.diego2009-05-131-12/+12
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Remove trailing whitespace from most filesUoti Urpala2009-07-071-12/+12
| |
* | Merge svn changes up to r29277Uoti Urpala2009-05-081-1/+1
|\|
| * Add missing 'void' to parameterless function declarations.diego2009-05-041-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29254 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r28310Uoti Urpala2009-01-151-10/+5
|\| | | | | | | | | | | | | | | The libdvdread4 and libdvdnav directories, which are externals in the svn repository, are at least for now not included in any form. I added configure checks to automatically disable internal libdvdread and libdvdnav if the corresponding directories are not present; if they're added manually then things work the same as in svn.
| * Reorder #includes and #ifdefs to avoid excessive #ifdeffery.diego2009-01-021-10/+5
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28232 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r27441Uoti Urpala2008-08-081-5/+5
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: cfg-common-opts.h command.c configure input/input.c libmpcodecs/dec_video.c libmpcodecs/vd.c libmpdemux/stheader.h libvo/sub.c libvo/video_out.c libvo/vo_xv.c libvo/vosub_vidix.c libvo/x11_common.c libvo/x11_common.h mp_core.h mplayer.c stream/stream.h
| * Rename all preprocessor directives related to Apple / Mac OS X.diego2008-08-061-5/+5
| | | | | | | | | | | | | | Switch them from a HAVE_ to a CONFIG_ prefix. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27420 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r26587Uoti Urpala2008-04-291-1/+1
|\| | | | | | | | | | | | | | | Conflicts: Makefile configure osdep/timer-darwin.c
| * Consistently #include mpbswap.h instead of bswap.h everywhere.diego2008-04-281-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26574 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Make audio decoder description structs constUoti Urpala2008-04-261-1/+1
|/ | | | | | Make the per-decoder struct ad_functions and its ->info struct constants. Same for the mpcodecs_ad_drivers[] table of pointers to those structs.
* Introduce HAVE_QUICKTIME definition and use it where appropriate.diego2008-03-151-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26248 b3059339-0415-0410-9bf9-f77b7e298cf2
* Include loader/ prefix in #include path everywhere.diego2007-03-151-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22595 b3059339-0415-0410-9bf9-f77b7e298cf2
* Shouldn't move "#ifdef MACOSX" before #include config.h of course...uau2006-11-261-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21276 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move #include <QuickTime/QuickTimeComponents.h> before internal headers.uau2006-11-261-4/+4
| | | | | | | It was probably broken by #define always_inline in ffmpeg headers. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21274 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move #ifdefs around complete files into the build system.diego2006-06-211-5/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18774 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
* preload quicktime.qts, this allows us to ignore the hardcoded path inside ↵faust32005-01-171-1/+11
| | | | | | the dlls so that quicktime.qts doesn't need to be in the windows system dir, patch by Gianluigi Tiesi <mplayer at netfarm.it>, comments by myself git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14529 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix compilation on macosx with --enable-qtx patch by Zachary Bedell ↵faust32004-10-101-1/+1
| | | | | | <zaclist@adirondack.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13607 b3059339-0415-0410-9bf9-f77b7e298cf2
* small gcc warning fixesrathann2004-08-281-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13189 b3059339-0415-0410-9bf9-f77b7e298cf2
* do not exit without an error messagefaust32004-08-121-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13009 b3059339-0415-0410-9bf9-f77b7e298cf2
* minimal fix for alex's 1000000000000l compile errors. imo the fix inrfelker2004-04-301-0/+1
| | | | | | | | | | aviheader.h is totally correct. defining useless typedefs that can conflict with other headers is bad practice. i don't like editing mmreg.h but oh well... if you have a better fix, commit it! finally, the fix in the ad_ and vd_ files seems totally correct. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12357 b3059339-0415-0410-9bf9-f77b7e298cf2
* printf -> mp_msgfaust32004-04-131-26/+25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12194 b3059339-0415-0410-9bf9-f77b7e298cf2
* macosx fix by Dan Christiansen <danchr@daimi.au.dk>alex2003-03-261-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9695 b3059339-0415-0410-9bf9-f77b7e298cf2
* MACOSX support patch, based on Dan Christiansens workalex2003-02-251-1/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9503 b3059339-0415-0410-9bf9-f77b7e298cf2
* real cygwin support by Sascha Sommer <saschasommer@freenet.de>alex2003-02-121-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9406 b3059339-0415-0410-9bf9-f77b7e298cf2
* don't abort if setparams failed - fixes some Qclp filesarpi2002-12-291-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8633 b3059339-0415-0410-9bf9-f77b7e298cf2
* compiler warning fixesarpi2002-12-141-0/+4
| | | | | | | 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
* fixed in/out framesize rounding bug (causing low-rate QCLP hangup/looping)arpi2002-12-071-7/+8
| | | | | | | disabled TerminateQTML(), as it does carshing (due to patched InitializeQTML) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8390 b3059339-0415-0410-9bf9-f77b7e298cf2
* loader supportarpi2002-11-241-0/+3
| | | | | | | components.h removed, as it was duplicate of loader/qtx/qtxsdk/* git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8271 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed output bits per samplearpi2002-11-121-10/+24
| | | | | | | mace support git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8160 b3059339-0415-0410-9bf9-f77b7e298cf2
* *HUGE* set of compiler warning fixes, unused variables removalarpi2002-11-061-8/+8
| | | | | | | based on patch by Dominik Mierzejewski <dominik@rangers.eu.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8124 b3059339-0415-0410-9bf9-f77b7e298cf2
* qtaudio - audio decoder using win32 quicktime 5 dllsarpi2002-10-311-0/+291
based on code by Sascha Sommer <saschasommer@freenet.de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8009 b3059339-0415-0410-9bf9-f77b7e298cf2