Mercurial > mplayer.hg
view loader/qt_comp.h @ 30812:4c3685b029f7
Fix QuickTime emulated OSErr type.
The OSErr type on Mac OS X is int16_t, not int32_t (see
http://developer.apple.com/mac/library/documentation/QuickTime/Reference/QTRef_DataTypes/Reference/reference.html).
The upper 16 bits will typically be something random (they're entirely
undefined). Change the type so it's right; a few places tried to compensate
for this by masking out the upper bits, but a few places also missed them,
which made for unpredictable behavior.
author | sesse |
---|---|
date | Sat, 06 Mar 2010 11:12:32 +0000 |
parents | a8ea87c71d18 |
children | ee4e8dbc4d8a |
line wrap: on
line source
#ifndef MPLAYER_QT_COMP_H #define MPLAYER_QT_COMP_H DECL_COMPONENT(sorenson3,"SMD_ComponentDispatch",1) DECL_COMPONENT(sorenson,"SorensonYUV9Dispatcher",1) DECL_COMPONENT(sorenson1,"SVD_ComponentDispatch",1) DECL_COMPONENT(genericd,"GenericComponentDispatch",0) DECL_COMPONENT(stmedia,"STMediaComponentDispatch",0) DECL_COMPONENT(handlecd,"HandleComponentDispatch",0) DECL_COMPONENT(pcxcd,"PCExchangeComponentDispatch",0) DECL_COMPONENT(capcd,"CapComponentDispatch",0) DECL_COMPONENT(videocd,"VideoComponentDispatch",0) DECL_COMPONENT(soundcd,"SoundComponentDispatch",0) DECL_COMPONENT(scalingcd,"ScalingCodecDispatcher",0) DECL_COMPONENT(formatcnv,"FormatConverterDispatch",0) DECL_COMPONENT(basecd,"Base_CDComponentDispatch",1) DECL_COMPONENT(ddcd,"DD_CDComponentDispatch",0) DECL_COMPONENT(fakergb,"FakeRGBDispatcher",0) DECL_COMPONENT(rawcd,"RAW_CDComponentDispatch",0) DECL_COMPONENT(yuvsgi,"YUVSGI_CDComponentDispatch",0) DECL_COMPONENT(yuvs,"YUVS_CDComponentDispatch",0) DECL_COMPONENT(yuvu,"YUVU_CDComponentDispatch",0) DECL_COMPONENT(qdm2d,"QDM2Decompressor",0) DECL_COMPONENT(mace3d,"Mace3DecompDispatch",0) //DECL_COMPONENT(,"",0) #endif /* MPLAYER_QT_COMP_H */