1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-04 14:12:10 +00:00

exception stuff fixed

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1561 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2001-08-16 18:45:01 +00:00
parent 1134c269bc
commit 2d3a8284a1

View File

@ -34,17 +34,16 @@ extern "C" int DS_VideoDecoder_Open(char* dllname, GUID* guid, BITMAPINFOHEADER*
ci.dll=dllname;
ci.guid=*guid;
// try {
try {
DS_VideoDecoder* dec=new DS_VideoDecoder(ci, *format, flip);
// } catch (FatalError &e) {
// _handle=NULL;
// return -1;
// }
_d_ptr=d_ptr;
_handle=(void*)dec;
_d_ptr=d_ptr;
_handle=(void*)dec;
return 0;
} catch (FatalError &e) { }
_handle=NULL;
return -1;
return 0;
}
extern "C" void DS_VideoDecoder_Start(){