mirror of
https://github.com/mpv-player/mpv
synced 2024-12-26 00:42:57 +00:00
vd_qtvideo: Some indentation fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31785 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
56599fe4a4
commit
7fe4aa9a3b
@ -112,14 +112,14 @@ static int init(sh_video_t *sh){
|
||||
//preload quicktime.qts to avoid the problems caused by the hardcoded path inside the dll
|
||||
qtime_qts = LoadLibraryA("QuickTime.qts");
|
||||
if(!qtime_qts){
|
||||
mp_msg(MSGT_DECVIDEO,MSGL_ERR,"unable to load QuickTime.qts\n" );
|
||||
return 0;
|
||||
mp_msg(MSGT_DECVIDEO,MSGL_ERR,"unable to load QuickTime.qts\n" );
|
||||
return 0;
|
||||
}
|
||||
|
||||
handler = LoadLibraryA("qtmlClient.dll");
|
||||
if(!handler){
|
||||
mp_msg(MSGT_DECVIDEO,MSGL_ERR,"unable to load qtmlClient.dll\n");
|
||||
return 0;
|
||||
mp_msg(MSGT_DECVIDEO,MSGL_ERR,"unable to load qtmlClient.dll\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
InitializeQTML = (OSErr (*)(long))GetProcAddress(handler, "InitializeQTML");
|
||||
@ -160,9 +160,9 @@ static int init(sh_video_t *sh){
|
||||
((ImageDescription *)extradata)->idSize <= extradata_size)
|
||||
sh->ImageDesc = extradata;
|
||||
if (sh->ImageDesc) {
|
||||
mp_msg(MSGT_DECVIDEO,MSGL_DBG2,"ImageDescription size: %d\n",((ImageDescription*)(sh->ImageDesc))->idSize);
|
||||
framedescHandle=(ImageDescriptionHandle)NewHandleClear(((ImageDescription*)(sh->ImageDesc))->idSize);
|
||||
memcpy(*framedescHandle,sh->ImageDesc,((ImageDescription*)(sh->ImageDesc))->idSize);
|
||||
mp_msg(MSGT_DECVIDEO,MSGL_DBG2,"ImageDescription size: %d\n",((ImageDescription*)(sh->ImageDesc))->idSize);
|
||||
framedescHandle=(ImageDescriptionHandle)NewHandleClear(((ImageDescription*)(sh->ImageDesc))->idSize);
|
||||
memcpy(*framedescHandle,sh->ImageDesc,((ImageDescription*)(sh->ImageDesc))->idSize);
|
||||
} else {
|
||||
// assume extradata consists only of the atoms, build the other parts
|
||||
ImageDescription *idesc;
|
||||
|
Loading…
Reference in New Issue
Block a user