X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=projects%2Fmacosx%2Fframework%2FSources%2FVLCLibrary.m;h=d7d3d38cbd01c0fa368857bdc33415e612d62614;hb=83b4e8360bcb89dfbd1f773a92fcde9e024a98ac;hp=237414186cdf6966ed8e37318ed6b0d3b4346cd5;hpb=e996cbefaf0f8db55513071b9678242e0a7733da;p=vlc diff --git a/projects/macosx/framework/Sources/VLCLibrary.m b/projects/macosx/framework/Sources/VLCLibrary.m index 237414186c..d7d3d38cbd 100644 --- a/projects/macosx/framework/Sources/VLCLibrary.m +++ b/projects/macosx/framework/Sources/VLCLibrary.m @@ -42,7 +42,7 @@ void __catch_exception( void * e, const char * function, const char * file, int NSException* libvlcException = [NSException exceptionWithName:@"LibVLCException" reason:[NSString stringWithFormat:@"libvlc has thrown us an error: %s (%s:%d %s)", - libvlc_exception_get_message( ex ), file, line_number, function] + libvlc_errmsg(), file, line_number, function] userInfo:nil]; libvlc_exception_clear( ex ); @throw libvlcException;